Jpp
15.0.3
the software that should make you happy
|
4 x 4 symmetric matrix More...
#include <JMatrix4S.hh>
Public Member Functions | |
JMatrix4S () | |
Default constructor. More... | |
JMatrix4S (const JMatrix4D &A) | |
Contructor. More... | |
JMatrix4S (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) | |
Contructor. More... | |
void | invert () |
Invert matrix. More... | |
JMatrix4D & | setIdentity () |
Set to identity matrix. More... | |
void | set (const JMatrix4D &A) |
Set matrix. More... | |
JMatrix4D & | reset () |
Set matrix to the null matrix. More... | |
JMatrix4D & | transpose () |
Transpose. More... | |
JMatrix4D & | negate () |
Negate matrix. More... | |
JMatrix4D & | add (const JMatrix4D &A) |
Matrix addition. More... | |
JMatrix4D & | sub (const JMatrix4D &A) |
Matrix subtraction. More... | |
JMatrix4D & | mul (const double factor) |
Scale matrix. More... | |
const JMatrix4D & | mul (const JMatrix4D &A, const JMatrix4D &B) |
Matrix multiplication. More... | |
JMatrix4D & | mul (const JNullType &object) |
Multiply with object. More... | |
JMatrix4D & | div (const double factor) |
Scale matrix. More... | |
bool | equals (const JMatrix4D &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) const |
Transform. More... | |
Static Public Member Functions | |
static const JMatrix4D & | getInstance () |
Get reference to unique instance of this class object. More... | |
static const JMatrix4D & | getIdentity () |
Get reference to unique instance of this class object. More... | |
Public Attributes | |
double | a00 |
double | a01 |
double | a02 |
double | a03 |
double | a10 |
double | a11 |
double | a12 |
double | a13 |
double | a20 |
double | a21 |
double | a22 |
double | a23 |
double | a30 |
double | a31 |
double | a32 |
double | a33 |
4 x 4 symmetric matrix
Definition at line 26 of file JMatrix4S.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) |
Definition at line 63 of file JMatrix4S.hh.
|
inline |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 89 of file JMatrix4D.hh.
|
inlineinherited |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 118 of file JMatrix4D.hh.
|
inlineinherited |
Set matrix.
A | matrix |
Definition at line 131 of file JMatrix4D.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Matrix addition.
A | matrix |
Definition at line 192 of file JMatrix4D.hh.
Matrix subtraction.
A | matrix |
Definition at line 209 of file JMatrix4D.hh.
|
inlineinherited |
Scale matrix.
factor | factor |
Definition at line 226 of file JMatrix4D.hh.
Matrix multiplication.
A | matrix |
B | matrix |
Definition at line 261 of file JMatrix4D.hh.
|
inlineinherited |
Multiply with object.
object | object |
Definition at line 357 of file JMath.hh.
|
inlineinherited |
Scale matrix.
factor | factor |
Definition at line 243 of file JMatrix4D.hh.
|
inlineinherited |
Equality.
A | matrix |
eps | numerical precision |
Definition at line 295 of file JMatrix4D.hh.
|
inlineinherited |
Test identity.
eps | numerical precision |
Definition at line 323 of file JMatrix4D.hh.
|
inlineinherited |
Get determinant of matrix.
Definition at line 334 of file JMatrix4D.hh.
|
inlineinherited |
Transform.
__x0 | x0 value |
__x1 | x1 value |
__x2 | x2 value |
__x3 | x3 value |
Definition at line 366 of file JMatrix4D.hh.
|
inherited |
Definition at line 438 of file JMatrix4D.hh.
|
inherited |
Definition at line 438 of file JMatrix4D.hh.
|
inherited |
Definition at line 438 of file JMatrix4D.hh.
|
inherited |
Definition at line 438 of file JMatrix4D.hh.
|
inherited |
Definition at line 439 of file JMatrix4D.hh.
|
inherited |
Definition at line 439 of file JMatrix4D.hh.
|
inherited |
Definition at line 439 of file JMatrix4D.hh.
|
inherited |
Definition at line 439 of file JMatrix4D.hh.
|
inherited |
Definition at line 440 of file JMatrix4D.hh.
|
inherited |
Definition at line 440 of file JMatrix4D.hh.
|
inherited |
Definition at line 440 of file JMatrix4D.hh.
|
inherited |
Definition at line 440 of file JMatrix4D.hh.
|
inherited |
Definition at line 441 of file JMatrix4D.hh.
|
inherited |
Definition at line 441 of file JMatrix4D.hh.
|
inherited |
Definition at line 441 of file JMatrix4D.hh.
|
inherited |
Definition at line 441 of file JMatrix4D.hh.