Wm4::GMatrix< Real > Class Template Reference

#include <Wm4GMatrix.h>

List of all members.

Public Member Functions

GVector< Real > GetColumn (int iCol) const
void GetColumnMajor (Real *afCMajor) const
int GetColumns () const
bool GetInverse (GMatrix< Real > &rkInverse) const
int GetQuantity () const
GVector< Real > GetRow (int iRow) const
int GetRows () const
void GetSize (int &riRows, int &riCols) const
 GMatrix (const GMatrix &rkM)
 GMatrix (int iRows, int iCols, const Real **aafEntry)
 GMatrix (int iRows, int iCols, const Real *afData)
 GMatrix (int iRows=0, int iCols=0)
 operator const Real * () const
 operator Real * ()
bool operator!= (const GMatrix &rkM) const
Real & operator() (int iRow, int iCol)
Real operator() (int iRow, int iCol) const
GVector< Real > operator* (const GVector< Real > &rkV) const
GMatrix operator* (Real fScalar) const
GMatrix operator* (const GMatrix &rkM) const
GMatrixoperator*= (Real fScalar)
GMatrix operator+ (const GMatrix &rkM) const
GMatrixoperator+= (const GMatrix &rkM)
GMatrix operator- () const
GMatrix operator- (const GMatrix &rkM) const
GMatrixoperator-= (const GMatrix &rkM)
GMatrix operator/ (Real fScalar) const
GMatrixoperator/= (Real fScalar)
bool operator< (const GMatrix &rkM) const
bool operator<= (const GMatrix &rkM) const
GMatrixoperator= (const GMatrix &rkM)
bool operator== (const GMatrix &rkM) const
bool operator> (const GMatrix &rkM) const
bool operator>= (const GMatrix &rkM) const
Real * operator[] (int iRow)
const Real * operator[] (int iRow) const
Real QForm (const GVector< Real > &rkU, const GVector< Real > &rkV) const
void SetColumn (int iCol, const GVector< Real > &rkV)
void SetMatrix (int iRows, int iCols, const Real **aafMatrix)
void SetMatrix (int iRows, int iCols, const Real *afEntry)
void SetRow (int iRow, const GVector< Real > &rkV)
void SetSize (int iRows, int iCols)
void SwapRows (int iRow0, int iRow1)
GMatrix TimesTranspose (const GMatrix &rkM) const
GMatrix Transpose () const
GMatrix TransposeTimes (const GMatrix &rkM) const
 ~GMatrix ()

Protected Member Functions

void Allocate (bool bSetToZero)
int CompareArrays (const GMatrix &rkM) const
void Deallocate ()

Protected Attributes

Real ** m_aafEntry
Real * m_afData
int m_iCols
int m_iQuantity
int m_iRows

Detailed Description

template<class Real>
class Wm4::GMatrix< Real >

Definition at line 40 of file Wm4GMatrix.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::GMatrix< Real >::GMatrix ( int  iRows = 0,
int  iCols = 0 
) [inline]
template<class Real >
Wm4::GMatrix< Real >::GMatrix ( int  iRows,
int  iCols,
const Real *  afData 
) [inline]
template<class Real >
Wm4::GMatrix< Real >::GMatrix ( int  iRows,
int  iCols,
const Real **  aafEntry 
) [inline]
template<class Real >
Wm4::GMatrix< Real >::GMatrix ( const GMatrix< Real > &  rkM  )  [inline]
template<class Real >
Wm4::GMatrix< Real >::~GMatrix (  )  [inline]

Definition at line 56 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::Deallocate().


Member Function Documentation

template<class Real >
void Wm4::GMatrix< Real >::Allocate ( bool  bSetToZero  )  [inline, protected]
template<class Real >
int Wm4::GMatrix< Real >::CompareArrays ( const GMatrix< Real > &  rkM  )  const [inline, protected]
template<class Real >
void Wm4::GMatrix< Real >::Deallocate (  )  [inline, protected]
template<class Real >
GVector< Real > Wm4::GMatrix< Real >::GetColumn ( int  iCol  )  const [inline]
template<class Real >
void Wm4::GMatrix< Real >::GetColumnMajor ( Real *  afCMajor  )  const [inline]
template<class Real >
int Wm4::GMatrix< Real >::GetColumns (  )  const [inline]
template<class Real >
bool Wm4::GMatrix< Real >::GetInverse ( GMatrix< Real > &  rkInverse  )  const [inline]
template<class Real >
int Wm4::GMatrix< Real >::GetQuantity (  )  const [inline]

Definition at line 127 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::m_iQuantity.

Referenced by Wm4::operator*().

template<class Real >
GVector< Real > Wm4::GMatrix< Real >::GetRow ( int  iRow  )  const [inline]
template<class Real >
int Wm4::GMatrix< Real >::GetRows (  )  const [inline]
template<class Real >
void Wm4::GMatrix< Real >::GetSize ( int &  riRows,
int &  riCols 
) const [inline]

Definition at line 108 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::m_iCols, and Wm4::GMatrix< Real >::m_iRows.

template<class Real >
Wm4::GMatrix< Real >::operator const Real * (  )  const [inline]

Definition at line 133 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::m_afData.

template<class Real >
Wm4::GMatrix< Real >::operator Real * (  )  [inline]

Definition at line 139 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::m_afData.

template<class Real >
bool Wm4::GMatrix< Real >::operator!= ( const GMatrix< Real > &  rkM  )  const [inline]

Definition at line 333 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::CompareArrays().

template<class Real >
Real & Wm4::GMatrix< Real >::operator() ( int  iRow,
int  iCol 
) [inline]
template<class Real >
Real Wm4::GMatrix< Real >::operator() ( int  iRow,
int  iCol 
) const [inline]

Definition at line 159 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::m_aafEntry.

template<class Real >
GVector< Real > Wm4::GMatrix< Real >::operator* ( const GVector< Real > &  rkV  )  const [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::operator* ( Real  fScalar  )  const [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::operator* ( const GMatrix< Real > &  rkM  )  const [inline]
template<class Real >
GMatrix< Real > & Wm4::GMatrix< Real >::operator*= ( Real  fScalar  )  [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::operator+ ( const GMatrix< Real > &  rkM  )  const [inline]
template<class Real >
GMatrix< Real > & Wm4::GMatrix< Real >::operator+= ( const GMatrix< Real > &  rkM  )  [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::operator- ( void   )  const [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::operator- ( const GMatrix< Real > &  rkM  )  const [inline]
template<class Real >
GMatrix< Real > & Wm4::GMatrix< Real >::operator-= ( const GMatrix< Real > &  rkM  )  [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::operator/ ( Real  fScalar  )  const [inline]
template<class Real >
GMatrix< Real > & Wm4::GMatrix< Real >::operator/= ( Real  fScalar  )  [inline]
template<class Real >
bool Wm4::GMatrix< Real >::operator< ( const GMatrix< Real > &  rkM  )  const [inline]

Definition at line 339 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::CompareArrays().

template<class Real >
bool Wm4::GMatrix< Real >::operator<= ( const GMatrix< Real > &  rkM  )  const [inline]

Definition at line 345 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::CompareArrays().

template<class Real >
GMatrix< Real > & Wm4::GMatrix< Real >::operator= ( const GMatrix< Real > &  rkM  )  [inline]
template<class Real >
bool Wm4::GMatrix< Real >::operator== ( const GMatrix< Real > &  rkM  )  const [inline]

Definition at line 327 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::CompareArrays().

template<class Real >
bool Wm4::GMatrix< Real >::operator> ( const GMatrix< Real > &  rkM  )  const [inline]

Definition at line 351 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::CompareArrays().

template<class Real >
bool Wm4::GMatrix< Real >::operator>= ( const GMatrix< Real > &  rkM  )  const [inline]

Definition at line 357 of file Wm4GMatrix.inl.

References Wm4::GMatrix< Real >::CompareArrays().

template<class Real >
Real * Wm4::GMatrix< Real >::operator[] ( int  iRow  )  [inline]
template<class Real >
const Real * Wm4::GMatrix< Real >::operator[] ( int  iRow  )  const [inline]
template<class Real >
Real Wm4::GMatrix< Real >::QForm ( const GVector< Real > &  rkU,
const GVector< Real > &  rkV 
) const [inline]
template<class Real >
void Wm4::GMatrix< Real >::SetColumn ( int  iCol,
const GVector< Real > &  rkV 
) [inline]
template<class Real >
void Wm4::GMatrix< Real >::SetMatrix ( int  iRows,
int  iCols,
const Real **  aafMatrix 
) [inline]
template<class Real >
void Wm4::GMatrix< Real >::SetMatrix ( int  iRows,
int  iCols,
const Real *  afEntry 
) [inline]
template<class Real >
void Wm4::GMatrix< Real >::SetRow ( int  iRow,
const GVector< Real > &  rkV 
) [inline]
template<class Real >
void Wm4::GMatrix< Real >::SetSize ( int  iRows,
int  iCols 
) [inline]
template<class Real >
void Wm4::GMatrix< Real >::SwapRows ( int  iRow0,
int  iRow1 
) [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::TimesTranspose ( const GMatrix< Real > &  rkM  )  const [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::Transpose (  )  const [inline]
template<class Real >
GMatrix< Real > Wm4::GMatrix< Real >::TransposeTimes ( const GMatrix< Real > &  rkM  )  const [inline]

Member Data Documentation

template<class Real>
Real** Wm4::GMatrix< Real >::m_aafEntry [protected]
template<class Real>
Real* Wm4::GMatrix< Real >::m_afData [protected]
template<class Real>
int Wm4::GMatrix< Real >::m_iCols [protected]
template<class Real>
int Wm4::GMatrix< Real >::m_iQuantity [protected]
template<class Real>
int Wm4::GMatrix< Real >::m_iRows [protected]

The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:49 2011 for FreeCAD by  doxygen 1.6.1