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

CxMatrixTem< C > Class Template Reference

Template definition for matrices. More...

#include <Matrix.h>

Collaboration diagram for CxMatrixTem< C >:

Collaboration graph
[legend]
List of all members.

Operators

template<class CC>
CxVector< CC > operator * (const CxVector< CC > &, const CxMatrixTem< CC > &)
 Multiplication.
template<class CC>
CxVector< CC > operator * (const CxMatrixTem< CC > &, const CxVector< CC > &)
 Multiplication.
CxMatrixTem< C > & operator= (const CxMatrixTem< C > &m)
 Normal assigment.
C * operator[] (int i) const
 Subscripting, start with 0.
CxMatrixTem< C > operator * (double val) const
 Multiplication.
CxMatrixTem< C > operator * (const CxMatrixTem< C > &a) const
 Multiplication.
CxMatrixTem< C > operator+ (const CxMatrixTem< C > &a) const
 Addition.
CxMatrixTem< C > operator+ (double val) const
 Addition.

Public Member Functions

 ~CxMatrixTem ()
 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
CxVector< C > getRow (long r) const
CxVector< C > getCol (long c) const
CxMatrixTem< C > setRow (long r, CxVector< C > v, bool makeCopy=false)
CxMatrixTem< C > setCol (long c, CxVector< C > v, bool makeCopy=false)
CxMatrixTem< C > i () const
 Inverse.
CxMatrixTem< C > t () const
CxMatrixTem< C > covariance (CxVector< C > &mean) const
 Calculate covariance matrix.
CxMatrixTem< C > svd (CxVector< C > &W, CxMatrixTem< C > &V) const
 Singular Value Decomposition.
CxMatrixTem< 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 CxVector< C >

Detailed Description

template<class C>
class CxMatrixTem< C >

Template definition for matrices.

The dimensions are of arbitrary size.

Definition at line 16 of file Matrix.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 10:32:07 2010 for ImpalaSrc by  doxygen 1.5.1