Public Types |
enum | { nColumns = size
} |
enum | { nRows = size
} |
Public Methods |
| SymmetricMatrix () |
| SymmetricMatrix (const parentType &p) |
| SymmetricMatrix (const MtxAsymmetric &m) |
_Myt | operator- (const _Myt &m) const |
_Myt | operator+ (const _Myt &m) const |
_Myt | operator * (int n) const |
_Myt | operator * (float f) const |
_Myt | operator * (double f) const |
_Myt | operator/ (int n) const |
_Myt | operator/ (float n) const |
_Myt | operator/ (double n) const |
bool | operator== (_Myt &m) const |
void | operator+= (_Myt &m) |
void | operator-= (_Myt &m) |
void | operator= (const _Myt &m) |
T & | operator() (int col, int row) |
T & | operator[] (int n) |
T | operator[] (int n) const |
void | print (char *str="") const |
template<int N> Matrix< N, nRows, T > | operator * (const SymmetricMatrix< N, T > &m) const |
template<int theirCols, int theirRows> Matrix< theirCols, nRows, T > | operator * (const Matrix< theirCols, theirRows, T > &m) const |
void | operator= (const Matrix< size, size, T > &m) |
T & | elementAt (int col, int row) |
T | elementAt (int col, int row) const |
It supports most operations with...
It takes up only the space a symmetrical matrix needs, which is the triangular of the width. (note that all symmetrical matrices are also square matrices).