TMatrix22Template< T > Class Template Reference
[Math classes]
List of all members.
Public Member Functions |
| TMatrix22Template (void) |
template<class U > |
| TMatrix22Template (const TMatrix22Template< U > &original) |
| TMatrix22Template (const T &m00, const T &m01, const T &m10, const T &m11) |
uint32 | GetRowDimension (void) const |
uint32 | GetColumnDimension (void) const |
T | operator() (const uint32 row, const uint32 col) const |
T & | operator() (const uint32 row, const uint32 col) |
const T * | operator[] (const uint32 row) const |
T * | operator[] (const uint32 row) |
void | GetRow (const uint32 row, TVector2Template< T > &v) const |
void | SetRow (const uint32 row, const TVector2Template< T > &v) |
void | GetColumn (const uint32 col, TVector2Template< T > &v) const |
void | SetColumn (const uint32 col, const TVector2Template< T > &v) |
void | SetToTranspose (void) |
void | SetToTransposeOf (const TMatrix22Template< T > &source) |
TMatrix22Template< T > | GetTranspose (void) const |
TMatrix22Template< T > | GetAdjoint () const |
T | GetTrace (void) const |
T | GetDeterminant (void) const |
void | Multiply (const TMatrix22Template< T > &m, const TMatrix22Template< T > &n) |
TMatrix22Template< T > | Inverse (boolean *success) const |
TMatrix22Template< T > & | operator*= (const T &scalar) |
template<class U > |
TMatrix22Template< T > & | operator= (const TMatrix22Template< U > &original) |
TMatrix22Template< T > | operator+ (const TMatrix22Template< T > &r) const |
TMatrix22Template< T > | operator- (const TMatrix22Template< T > &r) const |
TMatrix22Template< T > | operator* (const TMatrix22Template< T > &r) const |
Static Public Attributes |
static const TMatrix22Template< T > | kIdentity |
static const TMatrix22Template< T > | kZero |
Protected Attributes |
T | value [2][2] |
| Stores the coeficients of the matrix in the form value[row][col].
|
Detailed Description
template<class T>
class TMatrix22Template< T >
Stores a 2 by 2 matrix and implements basic matrix operations. The matrix coeficients are stored in the value field
Constructor & Destructor Documentation
template<class T>
template<class U >
Member Function Documentation
template<class T>
template<class U >
Member Data Documentation
Stores the coeficients of the matrix in the form value[row][col].
The documentation for this class was generated from the following file: