Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Matrix::MatrixTem< C > Class Template Reference

Template definition for matrices. More...

#include <MatrixTem.h>

Collaboration diagram for Impala::Core::Matrix::MatrixTem< C >:

Collaboration graph
[legend]
List of all members.

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 >

Detailed Description

template<class C>
class Impala::Core::Matrix::MatrixTem< C >

Template definition for matrices.

The dimensions are of arbitrary size.

Obsolete class, to be removed!?!

Definition at line 24 of file MatrixTem.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:16:31 2010 for ImpalaSrc by  doxygen 1.5.1