1 #ifndef CLASSIC_Matrix3D_HH
2 #define CLASSIC_Matrix3D_HH
47 Matrix3D(
double x11,
double x12,
double x13,
48 double x21,
double x22,
double x23,
49 double x31,
double x32,
double x33);
Matrix3D operator*(const Matrix3D &lhs, const Matrix3D &rhs)
Multiply.
Matrix3D operator+(const Matrix3D &lhs, const Matrix3D &rhs)
Add.
Matrix3D operator-(const Matrix3D &lhs, const Matrix3D &rhs)
Subtract.
constexpr double c
The velocity of light in m/s.
Matrix3D transpose() const
Transpose.
Matrix3D & operator-=(const Matrix3D &rhs)
Subtract and assign.
Matrix3D & operator+=(const Matrix3D &rhs)
Add and assign.
bool isIdentity() const
Test for identity.
Matrix3D & operator*=(const Matrix3D &rhs)
Multiply and assign.
double & operator()(int i, int k)
Get element.
bool operator!=(const Matrix3D &) const
Matrix3D inverse() const
Inverse.
bool operator==(const Matrix3D &) const
static Matrix3D Identity()
Make identity.
Matrix3D()
Default constructor.