Jpp
|
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 __a01, const double __a02, const double __a03, const double __a04, const double __a11, const double __a12, const double __a13, const double __a14, const double __a22, const double __a23, const double __a24, const double __a33, const double __a34, 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.
__a00 | (0,0) |
__a01 | (0,1) |
__a02 | (0,2) |
__a03 | (0,3) |
__a04 | (0,4) |
__a11 | (1,1) |
__a12 | (1,2) |
__a13 | (1,3) |
__a14 | (1,4) |
__a22 | (2,2) |
__a23 | (2,3) |
__a24 | (2,4) |
__a33 | (3,3) |
__a34 | (3,4) |
__a44 | (4,4) |
Definition at line 67 of file JMatrix5S.hh.
|
inline |
Invert matrix.
Definition at line 83 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 |
|
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 |
Multiply with object.
object | object |
Definition at line 273 of file JMath.hh.
|
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.