#include <fbtypes.h>
Public Member Functions | |
FBMatrix () | |
Constructor Initializes matrix to identity. More... | |
FBMatrix (const double *pValue) | |
Constructor. More... | |
FBMatrix (const FBMatrix &pMatrix) | |
Copy Constructor. More... | |
void | Identity () |
Load identity matrix. More... | |
void | Set (const double *pValue) |
Set matrix from an array. More... | |
operator double * () const | |
Overloaded double* cast. More... | |
double ** | GetData () const |
return internal Data More... | |
double & | operator() (int i, int j) |
Overloaded operator (,) More... | |
const FBMatrix & | operator= (const FBMatrix &pMatrix) |
Overloaded equal operator. More... | |
const FBMatrix & | operator= (const double *pValue) |
assign operator. More... | |
bool | operator!= (const FBMatrix &pMatrix) |
not equal operator. More... | |
bool | operator== (const FBMatrix &pMatrix) |
equal operator. More... | |
const FBMatrix | operator+ (const FBMatrix &pMatrix) const |
add operator. More... | |
FBMatrix & | operator+= (const FBMatrix &pMatrix) |
add operator in place. More... | |
const FBMatrix | operator- () |
unary minus operator. More... | |
const FBMatrix | operator- (const FBMatrix &pMatrix) const |
minus operator. More... | |
FBMatrix & | operator-= (const FBMatrix &pMatrix) |
minus operator in place. More... | |
const FBMatrix | operator* (const FBMatrix &pMatrix) const |
multiply operator. More... | |
FBMatrix & | operator*= (const FBMatrix &pMatrix) |
multiply operator in place. More... | |
const FBMatrix | operator* (const double pN) const |
multiply operator for double. More... | |
FBMatrix & | operator*= (const double pN) |
multiply operator for double in place. More... | |
FBMatrix & | Inverse () |
Get Inversed matrix. More... | |
FBMatrix & | Transpose () |
Get Transposed matrix. More... | |
bool | Validate () |
Validated matrix. More... | |
const FBMatrix | InverseProduct (const FBMatrix &pMatrix) |
InverseProduct Matrix. More... | |
FBMatrix | ( | ) |
Constructor Initializes matrix to identity.
FBMatrix | ( | const double * | pValue | ) |
Constructor.
pValue | Array to intialize matrix from. |
double** GetData | ( | ) | const |
return internal Data
void Identity | ( | ) |
Load identity matrix.
FBMatrix& Inverse | ( | ) |
Get Inversed matrix.
InverseProduct Matrix.
pMatrix | Matrix to Product. |
operator double * | ( | ) | const |
Overloaded double* cast.
not equal operator.
pMatrix | Matrix to compare. |
multiply operator.
pMatrix | Matrix to multiply. |
const FBMatrix operator* | ( | const double | pN | ) | const |
multiply operator for double.
pN | double to multiply. |
multiply operator in place.
pMatrix | Matrix to multiply. |
FBMatrix& operator*= | ( | const double | pN | ) |
multiply operator for double in place.
pN | double to multiply. |
add operator.
pMatrix | Matrix to add. |
add operator in place.
pMatrix | Matrix to add. |
const FBMatrix operator- | ( | ) |
unary minus operator.
minus operator.
pMatrix | Matrix to minus. |
minus operator in place.
pMatrix | Matrix to minus. |
Overloaded equal operator.
pMatrix | Matrix to copy. |
const FBMatrix& operator= | ( | const double * | pValue | ) |
assign operator.
pValue | array to assign. |
equal operator.
pMatrix | Matrix to compare. |
void Set | ( | const double * | pValue | ) |
Set matrix from an array.
pValue | Array to intialize matrix from. |
FBMatrix& Transpose | ( | ) |
Get Transposed matrix.
bool Validate | ( | ) |
Validated matrix.