Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CwMtx::CWTSMatrix< r, c, T > Class Template Reference

#include <stat_matrix.h>

Inheritance diagram for CwMtx::CWTSMatrix< r, c, T >:

CwMtx::CWTSZero< CWTSMatrix< r, c, T > > List of all members.

Public Types

typedef T element

Public Member Functions

 CWTSMatrix ()
 CWTSMatrix (const CWTSMatrix &)
 ~CWTSMatrix ()
unsigned getRows () const
unsigned getCols () const
T * operator[] (unsigned irow)
const T * operator[] (unsigned irow) const
CWTSMatrix operator+ (const CWTSMatrix &) const
CWTSMatrix operator- (const CWTSMatrix &) const
CWTSMatrix operator- () const
CWTSMatrix operator * (const T &) const
CWTSMatrix operator/ (const T &value) const
CWTSMatrixoperator= (const CWTSMatrix &)
CWTSMatrixoperator+= (const CWTSMatrix &)
CWTSMatrixoperator-= (const CWTSMatrix &)
CWTSMatrixoperator *= (const T &)
CWTSMatrixoperator/= (const T &value)
bool operator== (const CWTSMatrix &) const
bool operator!= (const CWTSMatrix &mat) const
void interchangeRows (unsigned, unsigned)
void addRowToRow (unsigned, unsigned, const T &=CWTSUnity< T >())
void multiplyRow (unsigned, const T &)
void fill (const T &)
void storeSum (const CWTSMatrix &, const CWTSMatrix &)
template<unsigned r2, unsigned c2>
void storeAtPosition (unsigned, unsigned, const CWTSMatrix< r2, c2, T > &)

template<unsigned r, unsigned c, class T = double>
class CwMtx::CWTSMatrix< r, c, T >


Member Typedef Documentation

template<unsigned r, unsigned c, class T = double>
typedef T CwMtx::CWTSMatrix< r, c, T >::element
 

Definition at line 161 of file stat_matrix.h.


Constructor & Destructor Documentation

template<unsigned r, unsigned c, class T = double>
CwMtx::CWTSMatrix< r, c, T >::CWTSMatrix  )  [inline]
 

Definition at line 163 of file stat_matrix.h.

Referenced by CwMtx::CWTSMatrix< r, c, T >::operator *(), CwMtx::CWTSMatrix< r, c, T >::operator+(), and CwMtx::CWTSMatrix< r, c, T >::operator-().

template<unsigned r, unsigned c, class T>
CwMtx::CWTSMatrix< r, c, T >::CWTSMatrix const CWTSMatrix< r, c, T > &   )  [inline]
 

Definition at line 212 of file stat_matrix.h.

template<unsigned r, unsigned c, class T = double>
CwMtx::CWTSMatrix< r, c, T >::~CWTSMatrix  )  [inline]
 

Definition at line 166 of file stat_matrix.h.


Member Function Documentation

template<unsigned r, unsigned c, class T>
void CwMtx::CWTSMatrix< r, c, T >::addRowToRow unsigned  ,
unsigned  ,
const T &  = CWTSUnity< T >()
 

Definition at line 420 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
void CwMtx::CWTSMatrix< r, c, T >::fill const T &   ) 
 

Definition at line 351 of file stat_matrix.h.

template<unsigned r, unsigned c, class T = double>
unsigned CwMtx::CWTSMatrix< r, c, T >::getCols  )  const [inline]
 

Definition at line 169 of file stat_matrix.h.

template<unsigned r, unsigned c, class T = double>
unsigned CwMtx::CWTSMatrix< r, c, T >::getRows  )  const [inline]
 

Definition at line 168 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
void CwMtx::CWTSMatrix< r, c, T >::interchangeRows unsigned  ,
unsigned 
 

Definition at line 396 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
void CwMtx::CWTSMatrix< r, c, T >::multiplyRow unsigned  ,
const T & 
 

Definition at line 410 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > CwMtx::CWTSMatrix< r, c, T >::operator * const T &   )  const
 

Reimplemented in CwMtx::CWTSQuaternion< T >, CwMtx::CWTSSquareMatrix< r, T >, CwMtx::CWTSSpaceVector< T >, CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 243 of file stat_matrix.h.

References CwMtx::CWTSMatrix< r, c, T >::CWTSMatrix().

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > & CwMtx::CWTSMatrix< r, c, T >::operator *= const T &   ) 
 

Reimplemented in CwMtx::CWTSQuaternion< T >, CwMtx::CWTSSquareMatrix< r, T >, CwMtx::CWTSSpaceVector< T >, CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 304 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
bool CwMtx::CWTSMatrix< r, c, T >::operator!= const CWTSMatrix< r, c, T > &  mat  )  const [inline]
 

Definition at line 344 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > CwMtx::CWTSMatrix< r, c, T >::operator+ const CWTSMatrix< r, c, T > &   )  const
 

Definition at line 220 of file stat_matrix.h.

References CwMtx::CWTSMatrix< r, c, T >::CWTSMatrix().

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > & CwMtx::CWTSMatrix< r, c, T >::operator+= const CWTSMatrix< r, c, T > &   ) 
 

Definition at line 274 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > CwMtx::CWTSMatrix< r, c, T >::operator-  )  const
 

Reimplemented in CwMtx::CWTSQuaternion< T >, CwMtx::CWTSSquareMatrix< r, T >, CwMtx::CWTSSpaceVector< T >, CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 236 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > CwMtx::CWTSMatrix< r, c, T >::operator- const CWTSMatrix< r, c, T > &   )  const
 

Definition at line 228 of file stat_matrix.h.

References CwMtx::CWTSMatrix< r, c, T >::CWTSMatrix().

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > & CwMtx::CWTSMatrix< r, c, T >::operator-= const CWTSMatrix< r, c, T > &   ) 
 

Definition at line 289 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > CwMtx::CWTSMatrix< r, c, T >::operator/ const T &  value  )  const [inline]
 

Reimplemented in CwMtx::CWTSQuaternion< T >, CwMtx::CWTSSquareMatrix< r, T >, CwMtx::CWTSSpaceVector< T >, CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 251 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > & CwMtx::CWTSMatrix< r, c, T >::operator/= const T &  value  )  [inline]
 

Reimplemented in CwMtx::CWTSQuaternion< T >, CwMtx::CWTSSquareMatrix< r, T >, CwMtx::CWTSSpaceVector< T >, CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 319 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
CWTSMatrix< r, c, T > & CwMtx::CWTSMatrix< r, c, T >::operator= const CWTSMatrix< r, c, T > &   ) 
 

Definition at line 259 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
bool CwMtx::CWTSMatrix< r, c, T >::operator== const CWTSMatrix< r, c, T > &   )  const
 

Definition at line 326 of file stat_matrix.h.

template<unsigned r, unsigned c, class T = double>
const T* CwMtx::CWTSMatrix< r, c, T >::operator[] unsigned  irow  )  const [inline]
 

Reimplemented in CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 176 of file stat_matrix.h.

template<unsigned r, unsigned c, class T = double>
T* CwMtx::CWTSMatrix< r, c, T >::operator[] unsigned  irow  )  [inline]
 

Reimplemented in CwMtx::CWTSVector< r, T >, CwMtx::CWTSVector< 4, T >, and CwMtx::CWTSVector< 3, T >.

Definition at line 174 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
template<unsigned r2, unsigned c2>
void CwMtx::CWTSMatrix< r, c, T >::storeAtPosition unsigned  ,
unsigned  ,
const CWTSMatrix< r2, c2, T > & 
 

Definition at line 381 of file stat_matrix.h.

template<unsigned r, unsigned c, class T>
void CwMtx::CWTSMatrix< r, c, T >::storeSum const CWTSMatrix< r, c, T > &  ,
const CWTSMatrix< r, c, T > & 
 

Definition at line 365 of file stat_matrix.h.

References CwMtx::CWTSMatrix< r, c, T >::m_rgrow.


The documentation for this class was generated from the following file:
Generated on Sun Jul 3 12:18:46 2005 for Matrix and vector library by  doxygen 1.4.2