|
Jpp
pmt_effective_area_update_2
the software that should make you happy
|
4 x 4 matrix More...
#include <JMatrix4D.hh>
Public Member Functions | |
| JMatrix4D () | |
| Default constructor. More... | |
| JMatrix4D (const double __a00, const double __a01, const double __a02, const double __a03, const double __a10, const double __a11, const double __a12, const double __a13, const double __a20, const double __a21, const double __a22, const double __a23, const double __a30, const double __a31, const double __a32, const double __a33) | |
| Contructor. 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... | |
| JMatrix4D & | div (const double factor) |
| Scale matrix. More... | |
| const JMatrix4D & | mul (const JMatrix4D &A, const JMatrix4D &B) |
| Matrix multiplication. 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... | |
| JMatrix4D & | mul (const JNullType &object) |
| Multiply with object. 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 |
Friends | |
| JReader & | operator>> (JReader &in, JMatrix4D &matrix) |
| Read matrix from input. More... | |
| JWriter & | operator<< (JWriter &out, const JMatrix4D &matrix) |
| Write matrix to output. More... | |
| std::ostream & | operator<< (std::ostream &out, const JMatrix4D &A) |
| Print ASCII formatted output. More... | |
4 x 4 matrix
Definition at line 33 of file JMatrix4D.hh.
|
inline |
|
inline |
Contructor.
| __a00 | (0,0) |
| __a01 | (0,1) |
| __a02 | (0,2) |
| __a03 | (0,3) |
| __a10 | (1,0) |
| __a11 | (1,1) |
| __a12 | (1,2) |
| __a13 | (1,3) |
| __a20 | (2,0) |
| __a21 | (2,1) |
| __a22 | (2,2) |
| __a23 | (2,3) |
| __a30 | (3,0) |
| __a31 | (3,1) |
| __a32 | (3,2) |
| __a33 | (3,3) |
Definition at line 73 of file JMatrix4D.hh.
|
inlinestatic |
Get reference to unique instance of this class object.
Definition at line 89 of file JMatrix4D.hh.
|
inline |
|
inlinestatic |
Get reference to unique instance of this class object.
Definition at line 118 of file JMatrix4D.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Matrix addition.
| A | matrix |
Definition at line 192 of file JMatrix4D.hh.
Matrix subtraction.
| A | matrix |
Definition at line 209 of file JMatrix4D.hh.
|
inline |
Scale matrix.
| factor | factor |
Definition at line 226 of file JMatrix4D.hh.
|
inline |
Scale matrix.
| factor | factor |
Definition at line 243 of file JMatrix4D.hh.
Matrix multiplication.
| A | matrix |
| B | matrix |
Definition at line 261 of file JMatrix4D.hh.
|
inline |
Equality.
| A | matrix |
| eps | numerical precision |
Definition at line 295 of file JMatrix4D.hh.
|
inline |
Test identity.
| eps | numerical precision |
Definition at line 323 of file JMatrix4D.hh.
|
inline |
Get determinant of matrix.
Definition at line 334 of file JMatrix4D.hh.
|
inline |
Transform.
| __x0 | x0 value |
| __x1 | x1 value |
| __x2 | x2 value |
| __x3 | x3 value |
Definition at line 366 of file JMatrix4D.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 387 of file JMatrix4D.hh.
Write matrix to output.
| out | writer |
| matrix | matrix |
Definition at line 405 of file JMatrix4D.hh.
|
friend |
Print ASCII formatted output.
| out | output stream |
| A | matrix |
Definition at line 423 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a00 |
Definition at line 438 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a01 |
Definition at line 438 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a02 |
Definition at line 438 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a03 |
Definition at line 438 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a10 |
Definition at line 439 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a11 |
Definition at line 439 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a12 |
Definition at line 439 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a13 |
Definition at line 439 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a20 |
Definition at line 440 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a21 |
Definition at line 440 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a22 |
Definition at line 440 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a23 |
Definition at line 440 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a30 |
Definition at line 441 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a31 |
Definition at line 441 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a32 |
Definition at line 441 of file JMatrix4D.hh.
| double JMATH::JMatrix4D::a33 |
Definition at line 441 of file JMatrix4D.hh.
1.8.5