![]() |
CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
|
MATRIX_3x3 class and functions. More...
#include <matr3d.h>
Public Member Functions | |
| MATRIX_3x3 (void) | |
| default constructor - sets components to zero | |
| MATRIX_3x3 (double xx_p, double xy_p, double xz_p, double yx_p, double yy_p, double yz_p, double zx_p, double zy_p, double zz_p) | |
| constructor - sets components values from variables | |
| MATRIX_3x3 (double M[]) | |
| constructor - sets components values from the array (one dimensional) | |
| MATRIX_3x3 (double M[3][3]) | |
| constructor - sets components values from the array (two dimensional) | |
| void | GetFrom (double xx_p, double xy_p, double xz_p, double yx_p, double yy_p, double yz_p, double zx_p, double zy_p, double zz_p) |
| copies components values from variables | |
| void | GetFrom (double A[]) |
| copies components values from the array (one dimensional) | |
| void | GetFrom (double A[3][3]) |
| copies components values from the array (two dimensional) | |
| void | SetToZero (void) |
| reset matrix - set all components to zero | |
| void | Unit (void) |
| set unit matrix | |
| double | Det (void) |
| matrix determinant | |
Public Attributes | |
| double | xx |
| (0,0) element | |
| double | xy |
| (0,1) element | |
| double | xz |
| (0,2) element | |
| double | yx |
| (1,0) element | |
| double | yy |
| (1,1) element | |
| double | yz |
| (1,2) element | |
| double | zx |
| (2,0) element | |
| double | zy |
| (2,1) element | |
| double | zz |
| (2,2) element | |
|
inline |
default constructor - sets components to zero
Definition at line 55 of file matr3d.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| double MATRIX_3x3::xx |
(0,0) element
Definition at line 44 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), v_sprintf(), and MASS_OBJECT_DATA::Write().
| double MATRIX_3x3::xy |
(0,1) element
Definition at line 45 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), v_sprintf(), and MASS_OBJECT_DATA::Write().
| double MATRIX_3x3::xz |
(0,2) element
Definition at line 46 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), and v_sprintf().
| double MATRIX_3x3::yx |
(1,0) element
Definition at line 47 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), and v_sprintf().
| double MATRIX_3x3::yy |
(1,1) element
Definition at line 48 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), v_sprintf(), and MASS_OBJECT_DATA::Write().
| double MATRIX_3x3::yz |
(1,2) element
Definition at line 49 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), v_sprintf(), and MASS_OBJECT_DATA::Write().
| double MATRIX_3x3::zx |
(2,0) element
Definition at line 50 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), v_sprintf(), and MASS_OBJECT_DATA::Write().
| double MATRIX_3x3::zy |
(2,1) element
Definition at line 51 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), and v_sprintf().
| double MATRIX_3x3::zz |
(2,2) element
Definition at line 52 of file matr3d.h.
Referenced by Det(), GetFrom(), GetFrom(), GetFrom(), operator!(), operator&(), operator*(), operator*(), operator*(), operator*(), operator*(), operator+(), operator-(), operator-(), operator/(), operator/=(), operator~(), MASS_OBJECT_DATA::Read(), SetToZero(), Unit(), v_fprintf(), v_fprintf(), v_printf(), v_printf(), v_sprintf(), v_sprintf(), and MASS_OBJECT_DATA::Write().