Jpp
18.5.0
the software that should make you happy
|
5 x 5 symmetric matrix More...
#include <JMatrix5S.hh>
Public Member Functions | |
JMatrix5S () | |
Default constructor. More... | |
JMatrix5S (const JMatrix5D &A) | |
Contructor. More... | |
JMatrix5S (const double __a00, const double __a10, const double __a11, const double __a20, const double __a21, const double __a22, const double __a30, const double __a31, const double __a32, const double __a33, const double __a40, const double __a41, const double __a42, const double __a43, const double __a44) | |
Contructor. More... | |
void | invert () |
Invert matrix. More... | |
JMatrix5D & | setIdentity () |
Set to identity matrix. More... | |
void | set (const JMatrix5D &A) |
Set matrix. More... | |
JMatrix5D & | reset () |
Set matrix to the null matrix. More... | |
JMatrix5D & | transpose () |
Transpose. More... | |
JMatrix5D & | negate () |
Negate matrix. More... | |
JMatrix5D & | add (const JMatrix5D &A) |
Matrix addition. More... | |
JMatrix5D & | sub (const JMatrix5D &A) |
Matrix subtraction. More... | |
JMatrix5D & | mul (const double factor) |
Scale matrix. More... | |
const JMatrix5D & | mul (const JMatrix5D &A, const JMatrix5D &B) |
Matrix multiplication. More... | |
JMatrix5D & | mul (const JNullType &object) |
Multiply with object. More... | |
JMatrix5D & | div (const double factor) |
Scale matrix. More... | |
bool | equals (const JMatrix5D &A, const double eps=std::numeric_limits< double >::min()) const |
Equality. More... | |
bool | isIdentity (const double eps=std::numeric_limits< double >::min()) const |
Test identity. More... | |
double | getDeterminant () const |
Get determinant of matrix. More... | |
void | transform (double &__x0, double &__x1, double &__x2, double &__x3, double &__x4) const |
Transform. More... | |
double | operator() (int row, int col) const |
Get matrix element. More... | |
double & | operator() (int row, int col) |
Get matrix element. More... | |
Static Public Member Functions | |
static const JMatrix5D & | getInstance () |
Get reference to unique instance of this class object. More... | |
static const JMatrix5D & | getIdentity () |
Get reference to unique instance of this class object. More... | |
Public Attributes | |
double | a00 |
double | a01 |
double | a02 |
double | a03 |
double | a04 |
double | a10 |
double | a11 |
double | a12 |
double | a13 |
double | a14 |
double | a20 |
double | a21 |
double | a22 |
double | a23 |
double | a24 |
double | a30 |
double | a31 |
double | a32 |
double | a33 |
double | a34 |
double | a40 |
double | a41 |
double | a42 |
double | a43 |
double | a44 |
Static Public Attributes | |
static const int | NUMBER_OF_DIMENSIONS = 5 |
5 x 5 symmetric matrix
Definition at line 26 of file JMatrix5S.hh.
|
inline |
|
inline |
|
inline |
Contructor.
The upper triangle is internally set.
__a00 | (0,0) |
__a10 | (1,0) |
__a11 | (1,1) |
__a20 | (2,0) |
__a21 | (2,1) |
__a22 | (2,2) |
__a30 | (3,0) |
__a31 | (3,1) |
__a32 | (3,2) |
__a33 | (3,3) |
__a40 | (4,0) |
__a41 | (4,1) |
__a42 | (4,2) |
__a43 | (4,3) |
__a44 | (4,4) |
Definition at line 68 of file JMatrix5S.hh.
|
inline |
Invert matrix.
Definition at line 84 of file JMatrix5S.hh.
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 101 of file JMatrix5D.hh.
|
inlineinherited |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 131 of file JMatrix5D.hh.
|
inlineinherited |
Set matrix.
A | matrix |
Definition at line 144 of file JMatrix5D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Matrix addition.
A | matrix |
Definition at line 210 of file JMatrix5D.hh.
Matrix subtraction.
A | matrix |
Definition at line 228 of file JMatrix5D.hh.
|
inlineinherited |
Scale matrix.
factor | factor |
Definition at line 246 of file JMatrix5D.hh.
Matrix multiplication.
A | matrix |
B | matrix |
Definition at line 283 of file JMatrix5D.hh.
|
inlineinherited |
|
inlineinherited |
Scale matrix.
factor | factor |
Definition at line 264 of file JMatrix5D.hh.
|
inlineinherited |
Equality.
A | matrix |
eps | numerical precision |
Definition at line 327 of file JMatrix5D.hh.
|
inlineinherited |
Test identity.
eps | numerical precision |
Definition at line 364 of file JMatrix5D.hh.
|
inlineinherited |
Get determinant of matrix.
Definition at line 375 of file JMatrix5D.hh.
|
inlineinherited |
Transform.
__x0 | x0 value |
__x1 | x1 value |
__x2 | x2 value |
__x3 | x3 value |
__x4 | x4 value |
Definition at line 417 of file JMatrix5D.hh.
|
inlineinherited |
Get matrix element.
row | row number |
col | column number |
Definition at line 501 of file JMatrix5D.hh.
|
inlineinherited |
Get matrix element.
row | row number |
col | column number |
Definition at line 514 of file JMatrix5D.hh.
|
staticinherited |
Definition at line 520 of file JMatrix5D.hh.
|
inherited |
Definition at line 522 of file JMatrix5D.hh.
|
inherited |
Definition at line 522 of file JMatrix5D.hh.
|
inherited |
Definition at line 522 of file JMatrix5D.hh.
|
inherited |
Definition at line 522 of file JMatrix5D.hh.
|
inherited |
Definition at line 522 of file JMatrix5D.hh.
|
inherited |
Definition at line 523 of file JMatrix5D.hh.
|
inherited |
Definition at line 523 of file JMatrix5D.hh.
|
inherited |
Definition at line 523 of file JMatrix5D.hh.
|
inherited |
Definition at line 523 of file JMatrix5D.hh.
|
inherited |
Definition at line 523 of file JMatrix5D.hh.
|
inherited |
Definition at line 524 of file JMatrix5D.hh.
|
inherited |
Definition at line 524 of file JMatrix5D.hh.
|
inherited |
Definition at line 524 of file JMatrix5D.hh.
|
inherited |
Definition at line 524 of file JMatrix5D.hh.
|
inherited |
Definition at line 524 of file JMatrix5D.hh.
|
inherited |
Definition at line 525 of file JMatrix5D.hh.
|
inherited |
Definition at line 525 of file JMatrix5D.hh.
|
inherited |
Definition at line 525 of file JMatrix5D.hh.
|
inherited |
Definition at line 525 of file JMatrix5D.hh.
|
inherited |
Definition at line 525 of file JMatrix5D.hh.
|
inherited |
Definition at line 526 of file JMatrix5D.hh.
|
inherited |
Definition at line 526 of file JMatrix5D.hh.
|
inherited |
Definition at line 526 of file JMatrix5D.hh.
|
inherited |
Definition at line 526 of file JMatrix5D.hh.
|
inherited |
Definition at line 526 of file JMatrix5D.hh.