1#ifndef OPALX_Matrix3D_HH
2#define OPALX_Matrix3D_HH
45 double x11,
double x12,
double x13,
double x21,
double x22,
double x23,
double x31,
46 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.
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.