|
Jpp
16.0.0-rc.2
the software that should make you happy
|
3 x 3 matrix More...
#include <JMatrix3D.hh>
Public Member Functions | |
| JMatrix3D () | |
| Default constructor. More... | |
| JMatrix3D (const double __a00, const double __a01, const double __a02, const double __a10, const double __a11, const double __a12, const double __a20, const double __a21, const double __a22) | |
| Contructor. More... | |
| JMatrix3D & | setIdentity () |
| Set to identity matrix. More... | |
| void | set (const JMatrix3D &A) |
| Set matrix. More... | |
| JMatrix3D & | reset () |
| Set matrix to the null matrix. More... | |
| JMatrix3D & | transpose () |
| Transpose. More... | |
| JMatrix3D & | negate () |
| Negate matrix. More... | |
| JMatrix3D & | add (const JMatrix3D &A) |
| Matrix addition. More... | |
| JMatrix3D & | sub (const JMatrix3D &A) |
| Matrix subtraction. More... | |
| JMatrix3D & | mul (const double factor) |
| Scale matrix. More... | |
| JMatrix3D & | div (const double factor) |
| Scale matrix. More... | |
| JMatrix3D & | mul (const JMatrix3D &A, const JMatrix3D &B) |
| Matrix multiplication. More... | |
| bool | equals (const JMatrix3D &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, double &__z) const |
| Transform. More... | |
| JMatrix3D & | mul (const JNullType &object) |
| Multiply with object. More... | |
Static Public Member Functions | |
| static const JMatrix3D & | getInstance () |
| Get reference to unique instance of this class object. More... | |
| static const JMatrix3D & | getIdentity () |
| Get reference to unique instance of this class object. More... | |
Public Attributes | |
| double | a00 |
| double | a01 |
| double | a02 |
| double | a10 |
| double | a11 |
| double | a12 |
| double | a20 |
| double | a21 |
| double | a22 |
Friends | |
| JReader & | operator>> (JReader &in, JMatrix3D &matrix) |
| Read matrix from input. More... | |
| JWriter & | operator<< (JWriter &out, const JMatrix3D &matrix) |
| Write matrix to output. More... | |
| std::ostream & | operator<< (std::ostream &out, const JMatrix3D &A) |
| Print ASCII formatted output. More... | |
3 x 3 matrix
Definition at line 32 of file JMath/JMatrix3D.hh.
|
inline |
|
inline |
Contructor.
| __a00 | (0,0) |
| __a01 | (0,1) |
| __a02 | (0,2) |
| __a10 | (1,0) |
| __a11 | (1,1) |
| __a12 | (1,2) |
| __a20 | (2,0) |
| __a21 | (2,1) |
| __a22 | (2,2) |
Definition at line 64 of file JMath/JMatrix3D.hh.
|
inlinestatic |
Get reference to unique instance of this class object.
Definition at line 78 of file JMath/JMatrix3D.hh.
|
inline |
|
inlinestatic |
Get reference to unique instance of this class object.
Definition at line 106 of file JMath/JMatrix3D.hh.
|
inline |
Set matrix.
| A | matrix |
Definition at line 119 of file JMath/JMatrix3D.hh.
|
inline |
Set matrix to the null matrix.
Definition at line 130 of file JMath/JMatrix3D.hh.
|
inline |
|
inline |
Matrix addition.
| A | matrix |
Definition at line 176 of file JMath/JMatrix3D.hh.
Matrix subtraction.
| A | matrix |
Definition at line 192 of file JMath/JMatrix3D.hh.
|
inline |
Scale matrix.
| factor | factor |
Definition at line 208 of file JMath/JMatrix3D.hh.
|
inline |
Scale matrix.
| factor | factor |
Definition at line 224 of file JMath/JMatrix3D.hh.
Matrix multiplication.
| A | matrix |
| B | matrix |
Definition at line 241 of file JMath/JMatrix3D.hh.
|
inline |
Equality.
| A | matrix |
| eps | numerical precision |
Definition at line 267 of file JMath/JMatrix3D.hh.
|
inline |
Test identity.
| eps | numerical precision |
Definition at line 288 of file JMath/JMatrix3D.hh.
|
inline |
Get determinant of matrix.
Definition at line 299 of file JMath/JMatrix3D.hh.
|
inline |
Transform.
| __x | x value |
| __y | y value |
| __z | z value |
Definition at line 318 of file JMath/JMatrix3D.hh.
|
inlineinherited |
Multiply with object.
| object | object |
Definition at line 357 of file JMath.hh.
Read matrix from input.
| in | reader |
| matrix | matrix |
Definition at line 337 of file JMath/JMatrix3D.hh.
Write matrix to output.
| out | writer |
| matrix | matrix |
Definition at line 354 of file JMath/JMatrix3D.hh.
|
friend |
Print ASCII formatted output.
| out | output stream |
| A | matrix |
Definition at line 371 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a00 |
Definition at line 385 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a01 |
Definition at line 385 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a02 |
Definition at line 385 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a10 |
Definition at line 386 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a11 |
Definition at line 386 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a12 |
Definition at line 386 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a20 |
Definition at line 387 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a21 |
Definition at line 387 of file JMath/JMatrix3D.hh.
| double JMATH::JMatrix3D::a22 |
Definition at line 387 of file JMath/JMatrix3D.hh.
1.8.5