#include <chart.h>
Public Member Functions | |
AffineLinearMapping () | |
default constructor, yields the identity mapping | |
AffineLinearMapping (const Matrix< double > &A, const Point< DIM > &b) | |
constructor from A and b (dimensions should fit) | |
void | map_point (const Point< DIM > &, Point< DIM > &) const |
double | map_point (const double, const int) const |
void | map_point_inv (const Point< DIM > &, Point< DIM > &) const |
double | map_point_inv (const double, const int) const |
const double | Gram_factor (const Point< DIM > &) const |
const double | Gram_D_factor (const unsigned int i, const Point< DIM > &x) const |
const double | Dkappa_inv (const unsigned int i, const unsigned int j, const Point< DIM > &x) const |
const bool | in_patch (const Point< DIM > &x) const |
const double | a_i (const int i) const |
const string | to_string () const |
const Matrix< double > & | A () const |
read access to A | |
const Point< DIM > & | b () const |
read access to b | |
Static Public Attributes | |
static const string | className = "AffineLinearMapping" |
Protected Attributes | |
Matrix< double > | A_ |
Matrix< double > | A_inv |
double | det_A |
double | square_root_of_abs_det_A |
Point< DIM > | b_ |
affine linear mapping y = A*x+b
const double MathTL::AffineLinearMapping< DIM >::a_i | ( | const int | i | ) | const [inline, virtual] |
return the i-th diagonal element in the case of kappa not depending on x TODO: shift this virtual method into a subclass of Chart
Implements MathTL::Chart< DIM, DIM >.
double MathTL::AffineLinearMapping< DIM >::map_point | ( | const double | , |
const int | |||
) | const [inline, virtual] |
special 1D version TODO: remove this member in this generic branch!
Implements MathTL::Chart< DIM, DIM >.
double MathTL::AffineLinearMapping< DIM >::map_point_inv | ( | const double | , |
const int | |||
) | const [inline, virtual] |
special 1D version TODO: remove this member in this generic branch!
Implements MathTL::Chart< DIM, DIM >.
const string MathTL::AffineLinearMapping< DIM >::to_string | ( | ) | const [virtual] |
returns a string representation of this object
Implements MathTL::Chart< DIM, DIM >.
const string MathTL::AffineLinearMapping< DIM >::className = "AffineLinearMapping" [static] |
static field to store the name of the class