#include <MatrixTem.h>
Collaboration diagram for Impala::Core::Matrix::MatrixTem< C >:
Operators | |
template<class CC> | |
VectorTem< CC > | operator * (const VectorTem< CC > &, const MatrixTem< CC > &) |
Multiplication. | |
template<class CC> | |
VectorTem< CC > | operator * (const MatrixTem< CC > &, const VectorTem< CC > &) |
Multiplication. | |
MatrixTem< C > & | operator= (const MatrixTem< C > &m) |
Normal assigment. | |
C * | operator[] (int i) const |
Subscripting, start with 0. | |
MatrixTem< C > | operator * (double val) const |
Multiplication. | |
MatrixTem< C > | operator * (const MatrixTem< C > &a) const |
Multiplication. | |
MatrixTem< C > | operator+ (const MatrixTem< C > &a) const |
Addition. | |
MatrixTem< C > | operator+ (double val) const |
Addition. | |
Public Member Functions | |
~MatrixTem () | |
Copy from vector constructor. | |
Inquiry | |
int | nRow () const |
Number of rows. | |
int | nCol () const |
Number of columns. | |
int | nElem () const |
Number of elements. | |
int | valid () const |
Indicates whether the matrix is valid. | |
C * | dataPtr () const |
Operations | |
VectorTem< C > | getRow (long r) const |
VectorTem< C > | getCol (long c) const |
MatrixTem< C > | setRow (long r, VectorTem< C > v, bool makeCopy=false) |
MatrixTem< C > | setCol (long c, VectorTem< C > v, bool makeCopy=false) |
MatrixTem< C > | i () const |
Inverse. | |
MatrixTem< C > | t () const |
MatrixTem< C > | covariance (VectorTem< C > &mean) const |
Calculate covariance matrix. | |
MatrixTem< C > | svd (VectorTem< C > &W, MatrixTem< C > &V) const |
Singular Value Decomposition. | |
MatrixTem< C > | klm (int newDim) const |
Karhunen Loeve mapping (PCA) Principal Componant Analysis to reduce matrix to newDim dimensions. | |
Public Attributes | |
int | _nr |
int | _nc |
C * | _data |
Friends | |
class | VectorTem< C > |
The dimensions are of arbitrary size.
Obsolete class, to be removed!?!
Definition at line 24 of file MatrixTem.h.