#include <ivfmath/IvfMat3d.h>
Inheritance diagram for CIvfMat3d:
Public Member Functions | |
CIvfMat3d () | |
CIvfMat3d (CIvfMat3d &M) | |
CIvfMat3d (double scalar) | |
virtual | ~CIvfMat3d () |
void | one () |
void | identity () |
void | zero () |
void | print (ostream &out) |
void | setComponent (int row, int col, double value) |
double | getComponent (int row, int col) |
void | setColumn (int col, double v1, double v2, double v3) |
void | setRow (int row, double v1, double v2, double v3) |
CIvfMat3d & | t () |
CIvfMat3d & | inv () |
CIvfMat3d & | operator= (CIvfMat3d &A) |
CIvfMat3d & | operator= (double a) |
CIvfMat3d & | operator+= (CIvfMat3d &A) |
CIvfMat3d & | operator-= (CIvfMat3d &A) |
CIvfMat3d & | operator * (CIvfMat3d &A) |
CIvfVec3d & | operator * (CIvfVec3d &v) |
CIvfMat3d & | operator * (double scalar) |
CIvfMat3d & | operator/ (double scalar) |
CIvfMat3d & | operator+ (CIvfMat3d &A) |
Implements a simple [3x3] matrix.
Definition at line 39 of file IvfMat3d.h.
|
CIvfMat3d constructor |
|
CIvfMat3d copy constructor |
|
CIvfMat3d scalar constructor |
|
CIvfMat3d destructor |
|
Returns value of matrix element (row, col) |
|
Initializes matrix to identity I |
|
Return the inverse of the matrix |
|
Initializes matrix with all ones (=1.0) |
|
Matrix/Scalar multiplication operator |
|
Matrix/Vector multiplication operator |
|
Matrix/Matrix multiplication operator |
|
Matrix/Matrix addition operator |
|
+= operator assignment Matrix += Matrix |
|
-= operator assignment Matrix -= Matrix |
|
Elemental division operator |
|
Assignment operator Matrix = scalar |
|
Assignment operator Matrix = Matrix |
|
Prints matrix to std output
|
|
Assign a column the values v1, v2, v3 |
|
Sets matrix component Assigns matrix element (row, col) to value. |
|
Assign a row the values v1, v2, v3
|
|
Return the transpose of the matrix
|
|
Zeros the entire matrix |