|
Jpp
18.3.1
the software that should make you happy
|
2 x 2 symmetric matrix More...
#include <JMatrix2S.hh>
Public Member Functions | |
| JMatrix2S () | |
| Default constructor. More... | |
| JMatrix2S (const JMatrix2D &A) | |
| Contructor. More... | |
| JMatrix2S (const double __a00, const double __a10, const double __a11) | |
| Contructor. More... | |
| void | invert () |
| Invert matrix. More... | |
| JMatrix2D & | setIdentity () |
| Set to identity matrix. More... | |
| void | set (const JMatrix2D &A) |
| Set matrix. More... | |
| JMatrix2D & | reset () |
| Set matrix to the null matrix. More... | |
| JMatrix2D & | transpose () |
| Transpose. More... | |
| JMatrix2D & | negate () |
| Negate matrix. More... | |
| JMatrix2D & | add (const JMatrix2D &A) |
| Matrix addition. More... | |
| JMatrix2D & | sub (const JMatrix2D &A) |
| Matrix subtraction. More... | |
| JMatrix2D & | mul (const double factor) |
| Scale matrix. More... | |
| JMatrix2D & | mul (const JMatrix2D &A, const JMatrix2D &B) |
| Matrix multiplication. More... | |
| JMatrix2D & | mul (const JNullType &object) |
| Multiply with object. More... | |
| JMatrix2D & | div (const double factor) |
| Scale matrix. More... | |
| bool | equals (const JMatrix2D &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 &__x, double &__y) const |
| Transform. More... | |
Static Public Member Functions | |
| static const JMatrix2D & | getInstance () |
| Get reference to unique instance of this class object. More... | |
| static const JMatrix2D & | getIdentity () |
| Get reference to unique instance of this class object. More... | |
Public Attributes | |
| double | a00 |
| double | a01 |
| double | a10 |
| double | a11 |
2 x 2 symmetric matrix
Definition at line 26 of file JMatrix2S.hh.
|
inline |
|
inline |
|
inline |
Contructor.
The upper triangle is internally set.
| __a00 | (0,0) |
| __a10 | (1,0) |
| __a11 | (1,1) |
Definition at line 56 of file JMatrix2S.hh.
|
inline |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 70 of file JMath/JMatrix2D.hh.
|
inlineinherited |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
Definition at line 97 of file JMath/JMatrix2D.hh.
|
inlineinherited |
Set matrix.
| A | matrix |
Definition at line 110 of file JMath/JMatrix2D.hh.
|
inlineinherited |
Set matrix to the null matrix.
Definition at line 121 of file JMath/JMatrix2D.hh.
|
inlineinherited |
|
inlineinherited |
Matrix addition.
| A | matrix |
Definition at line 164 of file JMath/JMatrix2D.hh.
Matrix subtraction.
| A | matrix |
Definition at line 179 of file JMath/JMatrix2D.hh.
|
inlineinherited |
Scale matrix.
| factor | factor |
Definition at line 194 of file JMath/JMatrix2D.hh.
Matrix multiplication.
| A | matrix |
| B | matrix |
Definition at line 225 of file JMath/JMatrix2D.hh.
|
inlineinherited |
|
inlineinherited |
Scale matrix.
| factor | factor |
Definition at line 209 of file JMath/JMatrix2D.hh.
|
inlineinherited |
Equality.
| A | matrix |
| eps | numerical precision |
Definition at line 245 of file JMath/JMatrix2D.hh.
|
inlineinherited |
Test identity.
| eps | numerical precision |
Definition at line 261 of file JMath/JMatrix2D.hh.
|
inlineinherited |
Get determinant of matrix.
Definition at line 272 of file JMath/JMatrix2D.hh.
|
inlineinherited |
|
inherited |
Definition at line 346 of file JMath/JMatrix2D.hh.
|
inherited |
Definition at line 346 of file JMath/JMatrix2D.hh.
|
inherited |
Definition at line 347 of file JMath/JMatrix2D.hh.
|
inherited |
Definition at line 347 of file JMath/JMatrix2D.hh.
1.8.5