|
| MMatrix (const MVector &v1, const MVector &v2, const MVector &v3) |
| constructor - Initializes MVectors in the matrix
|
|
| MMatrix (double v1x, double v1y, double v1z, double v2x, double v2y, double v2z, double v3x, double v3y, double v3z) |
| constructor - Initializes coordinates in the matrix
|
|
| MMatrix () |
| default constructor - Initializes matrix to zero with MVector constructor
|
|
MMatrix | operator+ (MMatrix const &obj) const |
| operator+ - overloads the + operator to add two matrices directly together More...
|
|
MMatrix | operator- (MMatrix const &obj) const |
| operator- - overloads the - operator to subtract two matrices directly together More...
|
|
MMatrix | operator* (const MMatrix &obj) const |
| operator* - overloads the * operator to multiply a matrix by a matrix More...
|
|
MVector | operator* (const MVector &obj) const |
| operator* - overloads the * operator to multiply a matrix by a vector More...
|
|
MMatrix | operator* (double const &scalar) const |
| operator* - overloads the * operator to multiply a matrix by a scalar More...
|
|
MMatrix | operator/ (double const &scalar) const |
| operator/ - overloads the / operator to divide a matrix by a scalar More...
|
|
void | transpose () |
| transpose - Reflects matrix across the diagonal
|
|
double | determinant () const |
| determinant - finds the determinant of the matrix More...
|
|
void | inverse () |
| inverse - Finds inverse of a matrix
|
|
void | setMat (int col, MVector vector) |
| setMat - Sets a specific column in the 3x3 matrix (initializes one column to an MVector
|
|
std::vector< MVector > & | getMat () |
|
| ~MMatrix ()=default |
| default destructor
|
|
bool | operator== (const MMatrix &m) const |
|
bool | operator!= (const MMatrix &m) const |
|