MercuryDPM
0.10
|
Implementation of a 3D matrix. More...
#include <Matrix.h>
Public Member Functions | |
Matrix3D (void) | |
Matrix3D (const Mdouble xx, const Mdouble xy, const Mdouble xz, const Mdouble yx, const Mdouble yy, const Mdouble yz, const Mdouble zx, const Mdouble zy, const Mdouble zz) | |
void | set_zero () |
Mdouble | trace () const |
Matrix3D | operator+ (const Matrix3D &A) const |
Matrix3D | operator- (const Matrix3D &A) const |
Matrix3D | operator+ (const Mdouble A) const |
Matrix3D | operator- (const Mdouble A) const |
Matrix3D | operator* (const Mdouble A) const |
Vec3D | operator* (const Vec3D A) const |
Matrix3D | operator/ (const Mdouble A) const |
Matrix3D & | operator+= (const Matrix3D &A) |
Matrix3D & | operator-= (const Matrix3D &A) |
Matrix3D & | operator/= (const Mdouble A) |
Public Attributes | |
Mdouble | XX |
Mdouble | XY |
Mdouble | XZ |
Mdouble | YX |
Mdouble | YY |
Mdouble | YZ |
Mdouble | ZX |
Mdouble | ZY |
Mdouble | ZZ |
Friends | |
Vec3D | operator* (const Matrix3D A, const Vec3D B) |
std::ostream & | operator<< (std::ostream &os, const Matrix3D &A) |
std::istream & | operator>> (std::istream &is, Matrix3D &A) |
Matrix3D | square (const Matrix3D &A) |
Matrix3D | sqrt (const Matrix3D &A) |
|
inline |
Definition at line 41 of file Matrix.h.
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inline |
|
inline |
|
friend |
|
friend |
Mdouble Matrix3D::XX |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), set_zero(), and trace().
Mdouble Matrix3D::XY |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and set_zero().
Mdouble Matrix3D::XZ |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and set_zero().
Mdouble Matrix3D::YX |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and set_zero().
Mdouble Matrix3D::YY |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), set_zero(), and trace().
Mdouble Matrix3D::YZ |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and set_zero().
Mdouble Matrix3D::ZX |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and set_zero().
Mdouble Matrix3D::ZY |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), and set_zero().
Mdouble Matrix3D::ZZ |
Definition at line 39 of file Matrix.h.
Referenced by Cross(), Matrix3D(), StatisticsPoint< T >::MatrixCross(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), set_zero(), and trace().