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

CwMtx::CWTMatrix< T > Class Template Reference

#include <matrix.h>

Inheritance diagram for CwMtx::CWTMatrix< T >:

CwMtx::CWTMat< CWTMatrix< T >, crow, ccol > CwMtx::CWTSquareMatrix< T > CwMtx::CWTVector< T > CwMtx::CWTZero< CWTMat< CWTMatrix< T >, crow, ccol > > CwMtx::CWTSMat< CWTSquareMatrix< T >, crow > CwMtx::CWTQuaternion< T > CwMtx::CWTSpaceVector< T > CwMtx::CWTVec< CWTVector< T >, crow > CwMtx::CWTUnity< CWTSMat< CWTSquareMatrix< T >, crow > > CwMtx::CWTZero< CWTSMat< CWTSquareMatrix< T >, crow > > CwMtx::CWTUnity< CWTQuaternion< T > > CwMtx::CWTZero< CWTQuaternion< T > > CwMtx::CWTZero< CWTSpaceVector< T > > CwMtx::CWTZero< CWTVec< CWTVector< T >, crow > > List of all members.

Public Types

typedef T element

Public Member Functions

 CWTMatrix ()
 CWTMatrix (unsigned, unsigned)
 CWTMatrix (const CWTMatrix &)
 CWTMatrix (const CWTMatrix &, unsigned, unsigned, unsigned, unsigned)
 ~CWTMatrix ()
void dimension (unsigned, unsigned)
void mapInto (const CWTMatrix &, unsigned, unsigned, unsigned, unsigned)
void deallocate ()
int getStatus () const
unsigned getRows () const
unsigned getCols () const
T * operator[] (unsigned irow)
const T * operator[] (unsigned irow) const
CWTMatrix operator+ (const CWTMatrix &) const
CWTMatrix operator- (const CWTMatrix &) const
CWTMatrix operator- () const
CWTMatrix operator * (const T &) const
CWTMatrix operator * (const CWTMatrix &) const
CWTMatrix operator/ (const T &value) const
CWTMatrixoperator= (const CWTMatrix &)
CWTMatrixoperator+= (const CWTMatrix &)
CWTMatrixoperator-= (const CWTMatrix &)
CWTMatrixoperator *= (const T &)
CWTMatrixoperator/= (const T &value)
int operator== (const CWTMatrix &) const
int operator!= (const CWTMatrix &mat) const
void storeSum (const CWTMatrix &, const CWTMatrix &)
void storeProduct (const CWTMatrix &, const CWTMatrix &)
void storeTranspose (const CWTMatrix &)
void storeAtPosition (unsigned, unsigned, const CWTMatrix &)
void fill (const T &)
void interchangeRows (unsigned, unsigned)
void addRowToRow (unsigned, unsigned, const T &=CWTUnity< T >())
void multiplyRow (unsigned, const T &)

template<class T = double>
class CwMtx::CWTMatrix< T >


Member Typedef Documentation

template<class T = double>
typedef T CwMtx::CWTMatrix< T >::element
 

Definition at line 75 of file matrix.h.


Constructor & Destructor Documentation

template<class T>
CwMtx::CWTMatrix< T >::CWTMatrix  )  [inline]
 

Definition at line 213 of file matrix.h.

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

template<class T>
CwMtx::CWTMatrix< T >::CWTMatrix unsigned  ,
unsigned 
[inline]
 

Definition at line 220 of file matrix.h.

References CwMtx::CWTMatrix< T >::dimension().

template<class T>
CwMtx::CWTMatrix< T >::CWTMatrix const CWTMatrix< T > &   )  [inline]
 

Definition at line 227 of file matrix.h.

References CwMtx::CWTMatrix< T >::m_nMatStatus, and CwMtx::N_NOTALLOCATED.

template<class T>
CwMtx::CWTMatrix< T >::CWTMatrix const CWTMatrix< T > &  ,
unsigned  ,
unsigned  ,
unsigned  ,
unsigned 
[inline]
 

Definition at line 245 of file matrix.h.

References CwMtx::CWTMatrix< T >::mapInto().

template<class T = double>
CwMtx::CWTMatrix< T >::~CWTMatrix  )  [inline]
 

Definition at line 86 of file matrix.h.

References CwMtx::CWTMatrix< T >::deallocate().


Member Function Documentation

template<class T>
void CwMtx::CWTMatrix< T >::addRowToRow unsigned  ,
unsigned  ,
const T &  = CWTUnity< T >()
 

Definition at line 634 of file matrix.h.

Referenced by CwMtx::det(), CwMtx::CWTSquareMatrix< T >::makeAdjoint(), and CwMtx::CWTSquareMatrix< T >::makeInverse().

template<class T>
void CwMtx::CWTMatrix< T >::deallocate  ) 
 

Definition at line 355 of file matrix.h.

References CwMtx::N_ALLOCATED, CwMtx::N_MAPPED, and CwMtx::N_NOTALLOCATED.

Referenced by CwMtx::CWTMatrix< T >::dimension(), CwMtx::CWTMatrix< T >::mapInto(), and CwMtx::CWTMatrix< T >::~CWTMatrix().

template<class T>
void CwMtx::CWTMatrix< T >::dimension unsigned  ,
unsigned 
 

Definition at line 274 of file matrix.h.

References CwMtx::CWTMatrix< T >::deallocate(), CwMtx::N_ALLOCATED, and CwMtx::N_NOTALLOCATED.

Referenced by CwMtx::CWTMatrix< T >::CWTMatrix(), and CwMtx::CWTMatrix< T >::operator=().

template<class T>
void CwMtx::CWTMatrix< T >::fill const T &   )  [inline]
 

Definition at line 604 of file matrix.h.

template<class T = double>
unsigned CwMtx::CWTMatrix< T >::getCols  )  const [inline]
 

Definition at line 97 of file matrix.h.

Referenced by CwMtx::transpose().

template<class T = double>
unsigned CwMtx::CWTMatrix< T >::getRows  )  const [inline]
 

Definition at line 96 of file matrix.h.

Referenced by CwMtx::det(), CwMtx::CWTSquareMatrix< T >::makeAdjoint(), CwMtx::CWTSquareMatrix< T >::makeInverse(), CwMtx::operator *(), and CwMtx::transpose().

template<class T = double>
int CwMtx::CWTMatrix< T >::getStatus  )  const [inline]
 

Definition at line 95 of file matrix.h.

template<class T>
void CwMtx::CWTMatrix< T >::interchangeRows unsigned  ,
unsigned 
 

Definition at line 615 of file matrix.h.

template<class T>
void CwMtx::CWTMatrix< T >::mapInto const CWTMatrix< T > &  ,
unsigned  ,
unsigned  ,
unsigned  ,
unsigned 
 

Definition at line 320 of file matrix.h.

References CwMtx::CWTMatrix< T >::deallocate(), CwMtx::N_MAPPED, and CwMtx::N_NOTALLOCATED.

Referenced by CwMtx::CWTMatrix< T >::CWTMatrix().

template<class T>
void CwMtx::CWTMatrix< T >::multiplyRow unsigned  ,
const T & 
 

Definition at line 625 of file matrix.h.

Referenced by CwMtx::det(), CwMtx::CWTSquareMatrix< T >::makeAdjoint(), and CwMtx::CWTSquareMatrix< T >::makeInverse().

template<class T>
CWTMatrix< T > CwMtx::CWTMatrix< T >::operator * const CWTMatrix< T > &   )  const
 

Definition at line 428 of file matrix.h.

References CwMtx::CWTMatrix< T >::m_ccol, and CwMtx::CWTMatrix< T >::storeProduct().

template<class T>
CWTMatrix< T > CwMtx::CWTMatrix< T >::operator * const T &   )  const
 

Reimplemented in CwMtx::CWTQuaternion< T >, CwMtx::CWTSquareMatrix< T >, CwMtx::CWTSpaceVector< T >, and CwMtx::CWTVector< T >.

Definition at line 420 of file matrix.h.

References CwMtx::CWTMatrix< T >::CWTMatrix().

template<class T>
CWTMatrix< T > & CwMtx::CWTMatrix< T >::operator *= const T &   ) 
 

Reimplemented in CwMtx::CWTQuaternion< T >, CwMtx::CWTSquareMatrix< T >, CwMtx::CWTSpaceVector< T >, and CwMtx::CWTVector< T >.

Definition at line 493 of file matrix.h.

template<class T = double>
int CwMtx::CWTMatrix< T >::operator!= const CWTMatrix< T > &  mat  )  const [inline]
 

Definition at line 147 of file matrix.h.

template<class T>
CWTMatrix< T > CwMtx::CWTMatrix< T >::operator+ const CWTMatrix< T > &   )  const
 

Definition at line 394 of file matrix.h.

References CwMtx::CWTMatrix< T >::CWTMatrix().

template<class T>
CWTMatrix< T > & CwMtx::CWTMatrix< T >::operator+= const CWTMatrix< T > &   ) 
 

Definition at line 464 of file matrix.h.

template<class T>
CWTMatrix< T > CwMtx::CWTMatrix< T >::operator-  )  const
 

Reimplemented in CwMtx::CWTQuaternion< T >, CwMtx::CWTSquareMatrix< T >, CwMtx::CWTSpaceVector< T >, and CwMtx::CWTVector< T >.

Definition at line 409 of file matrix.h.

template<class T>
CWTMatrix< T > CwMtx::CWTMatrix< T >::operator- const CWTMatrix< T > &   )  const
 

Definition at line 402 of file matrix.h.

References CwMtx::CWTMatrix< T >::CWTMatrix().

template<class T>
CWTMatrix< T > & CwMtx::CWTMatrix< T >::operator-= const CWTMatrix< T > &   ) 
 

Definition at line 479 of file matrix.h.

template<class T = double>
CWTMatrix CwMtx::CWTMatrix< T >::operator/ const T &  value  )  const [inline]
 

Reimplemented in CwMtx::CWTQuaternion< T >, CwMtx::CWTSquareMatrix< T >, CwMtx::CWTSpaceVector< T >, and CwMtx::CWTVector< T >.

Definition at line 121 of file matrix.h.

template<class T = double>
CWTMatrix& CwMtx::CWTMatrix< T >::operator/= const T &  value  )  [inline]
 

Reimplemented in CwMtx::CWTQuaternion< T >, CwMtx::CWTSquareMatrix< T >, CwMtx::CWTSpaceVector< T >, and CwMtx::CWTVector< T >.

Definition at line 136 of file matrix.h.

template<class T>
CWTMatrix< T > & CwMtx::CWTMatrix< T >::operator= const CWTMatrix< T > &   ) 
 

Definition at line 440 of file matrix.h.

References CwMtx::CWTMatrix< T >::dimension(), and CwMtx::N_NOTALLOCATED.

template<class T>
int CwMtx::CWTMatrix< T >::operator== const CWTMatrix< T > &   )  const
 

Definition at line 507 of file matrix.h.

template<class T = double>
const T* CwMtx::CWTMatrix< T >::operator[] unsigned  irow  )  const [inline]
 

Reimplemented in CwMtx::CWTVector< T >.

Definition at line 104 of file matrix.h.

template<class T = double>
T* CwMtx::CWTMatrix< T >::operator[] unsigned  irow  )  [inline]
 

Reimplemented in CwMtx::CWTVector< T >.

Definition at line 102 of file matrix.h.

template<class T>
void CwMtx::CWTMatrix< T >::storeAtPosition unsigned  ,
unsigned  ,
const CWTMatrix< T > & 
 

Definition at line 573 of file matrix.h.

References CwMtx::CWTMatrix< T >::m_ccol, CwMtx::CWTMatrix< T >::m_crow, and CwMtx::CWTMatrix< T >::m_rgrow.

template<class T>
void CwMtx::CWTMatrix< T >::storeProduct const CWTMatrix< T > &  ,
const CWTMatrix< T > & 
 

Definition at line 550 of file matrix.h.

References CwMtx::CWTMatrix< T >::m_rgrow.

Referenced by CwMtx::operator *(), CwMtx::CWTSquareMatrix< T >::operator *(), and CwMtx::CWTMatrix< T >::operator *().

template<class T>
void CwMtx::CWTMatrix< T >::storeSum const CWTMatrix< T > &  ,
const CWTMatrix< T > & 
 

Definition at line 532 of file matrix.h.

References CwMtx::CWTMatrix< T >::m_rgrow.

template<class T>
void CwMtx::CWTMatrix< T >::storeTranspose const CWTMatrix< T > &   ) 
 

Definition at line 589 of file matrix.h.

Referenced by CwMtx::transpose().


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