|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
3-dimensional matrix. More...
#include <Matrix3D.h>

Public Member Functions | |
| Matrix3D () | |
| Default constructor. | |
| Matrix3D (const Vector3D &a, const Vector3D &b, const Vector3D &c) | |
| Constructor. | |
| Matrix3D (double x11, double x12, double x13, double x21, double x22, double x23, double x31, double x32, double x33) | |
| Constructor. | |
| bool | operator== (const Matrix3D &) const |
| bool | operator!= (const Matrix3D &) const |
| double & | operator() (int i, int k) |
| Get element. | |
| double | operator() (int i, int k) const |
| Get element. | |
| Matrix3D & | operator+= (const Matrix3D &rhs) |
| Add and assign. | |
| Matrix3D & | operator-= (const Matrix3D &rhs) |
| Subtract and assign. | |
| Matrix3D & | operator*= (const Matrix3D &rhs) |
| Multiply and assign. | |
| Matrix3D & | operator*= (double factor) |
| Multiply and assign. | |
| Matrix3D | inverse () const |
| Inverse. | |
| bool | isIdentity () const |
| Test for identity. | |
| Matrix3D | transpose () const |
| Transpose. | |
Static Public Member Functions | |
| static Matrix3D | Identity () |
| Make identity. | |
Private Attributes | |
| double | m [3][3] |
3-dimensional matrix.
Definition at line 32 of file Matrix3D.h.
|
inline |
Default constructor.
Definition at line 107 of file Matrix3D.h.
References m.
Referenced by Identity(), and inverse().
| Matrix3D::Matrix3D | ( | double | x11, |
| double | x12, | ||
| double | x13, | ||
| double | x21, | ||
| double | x22, | ||
| double | x23, | ||
| double | x31, | ||
| double | x32, | ||
| double | x33 | ||
| ) |
|
static |
Make identity.
Definition at line 106 of file Matrix3D.cpp.
References Matrix3D().

| Matrix3D Matrix3D::inverse | ( | ) | const |
Inverse.
Definition at line 114 of file Matrix3D.cpp.
References m, and Matrix3D().

| bool Matrix3D::isIdentity | ( | ) | const |
Test for identity.
Definition at line 108 of file Matrix3D.cpp.
References m.
Referenced by Rotation3D::isIdentity().
| bool Matrix3D::operator!= | ( | const Matrix3D & | rhs | ) | const |
Definition at line 59 of file Matrix3D.cpp.
References m.
|
inline |
|
inline |
Multiply and assign.
Definition at line 91 of file Matrix3D.cpp.
| Matrix3D & Matrix3D::operator*= | ( | double | factor | ) |
| bool Matrix3D::operator== | ( | const Matrix3D & | rhs | ) | const |
Definition at line 53 of file Matrix3D.cpp.
References m.
| Matrix3D Matrix3D::transpose | ( | ) | const |
|
private |
Definition at line 86 of file Matrix3D.h.
Referenced by inverse(), isIdentity(), Matrix3D(), Matrix3D(), Matrix3D(), operator!=(), operator()(), operator()(), operator*=(), operator+=(), operator-=(), operator==(), and transpose().