Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
compound_frame_rep Struct Reference
Inheritance diagram for compound_frame_rep:
Inheritance graph
[legend]
Collaboration diagram for compound_frame_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 compound_frame_rep (frame f1b, frame f2b)
 operator tree ()
point direct_transform (point p)
point inverse_transform (point p)
point jacobian (point p, point v, bool &error)
point jacobian_of_inverse (point p, point v, bool &error)
double direct_bound (point p, double eps)
double inverse_bound (point p, double eps)
double direct_scalar (double x)
double inverse_scalar (double x)

Public Attributes

frame f1
frame f2
bool linear
int ref_count

Detailed Description

Definition at line 105 of file frame.cpp.


Constructor & Destructor Documentation

compound_frame_rep::compound_frame_rep ( frame  f1b,
frame  f2b 
) [inline]

Definition at line 107 of file frame.cpp.

                                           :
    f1 (f1b), f2 (f2b) { linear= f1->linear && f2->linear; }

Member Function Documentation

double compound_frame_rep::direct_bound ( point  p,
double  eps 
) [inline, virtual]

Implements frame_rep.

Definition at line 124 of file frame.cpp.

                                            {
    return f1->direct_bound (f2(p), f2->direct_bound (p, eps)); }
double frame_rep::direct_scalar ( double  x) [inline, inherited]

Definition at line 39 of file frame.hpp.

                                         {
    return norm (direct_transform (point (x, 0))); }

Here is the call graph for this function:

Implements frame_rep.

Definition at line 110 of file frame.cpp.

{ return f1 (f2 (p)); }
double compound_frame_rep::inverse_bound ( point  p,
double  eps 
) [inline, virtual]

Implements frame_rep.

Definition at line 126 of file frame.cpp.

                                             {
    return f2->inverse_bound (f1[p], f1->inverse_bound (p, eps)); }
double frame_rep::inverse_scalar ( double  x) [inline, inherited]

Definition at line 41 of file frame.hpp.

                                          {
    return norm (inverse_transform (point (x, 0))); }

Here is the call graph for this function:

Implements frame_rep.

Definition at line 111 of file frame.cpp.

{ return f2 [f1 [p]]; }
point compound_frame_rep::jacobian ( point  p,
point  v,
bool &  error 
) [inline, virtual]

Implements frame_rep.

Definition at line 112 of file frame.cpp.

                                                 {
    bool error2;
    point w2= f2->jacobian (p, v, error2);
    point w1= f1->jacobian (f2 (p), w2, error);
    error |= error2;
    return w1;
  }
point compound_frame_rep::jacobian_of_inverse ( point  p,
point  v,
bool &  error 
) [inline, virtual]

Implements frame_rep.

Definition at line 119 of file frame.cpp.

                                                            {
    (void) p; (void) v; (void) error;
    FAILED ("not yet implemented");
    return p;
  }
compound_frame_rep::operator tree ( ) [inline, virtual]

Implements frame_rep.

Definition at line 109 of file frame.cpp.

{ return tuple ("compound", (tree) f1, (tree) f2); }

Here is the call graph for this function:


Member Data Documentation

Definition at line 106 of file frame.cpp.

Definition at line 106 of file frame.cpp.

bool frame_rep::linear [inherited]

Definition at line 19 of file frame.hpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.


The documentation for this struct was generated from the following file: