Detailed Description
- See also:
- Class Matrix3.
- Description:
- This class is available in release 2.0 and later only.
This class implements an m x n matrix for situations &
calculations where the usual 4x3 Matrix3 class is not adequate. BigMatrix implements several
useful matrix operations, including matrix multiplication and
inversion, but is not guaranteed to be especially efficient. All
methods are implemented by the system.
- Data Members:
- int m, n
The dimensions of the matrix. There are m rows and n
columns.
float *val
The elements of the matrix. val[i*n+j] is the value in the i'th row
and the j'th column.
#include <mnbigmat.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
DllExport int SetSize |
( |
int |
mm, |
|
|
int |
nn |
|
) |
|
|
- Returns:
- Returns the total size of the matrix (mm * nn) or -1 if there's
an error.
DllExport float* operator[] |
( |
int |
i |
) |
const |
DllExport void SetTranspose |
( |
BigMatrix & |
trans |
) |
const |
DllExport float Invert |
( |
|
) |
|
- Returns:
- The determinant of the matrix (before inversion) is returned.
If the return value is 0, the matrix could not be inverted.
DllExport void Identity |
( |
|
) |
|
DllExport void Randomize |
( |
float |
scale |
) |
|
DllExport void MNDebugPrint |
( |
|
) |
|
DllExport void dump |
( |
FILE * |
fp |
) |
|
Member Data Documentation
BigMatrix BigMatrix BigMatrix BigMatrix
BigMatrix BigMatrix BigMatrix BigMatrix BigMatrix BigMatrix
BigMatrix BigMatrix BigMatrix BigMatrix
BigMatrix BigMatrix BigMatrix BigMatrix BigMatrix BigMatrix