libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moMatrix2< Real > Class Template Reference

#include <moMathMatrix.h>

Inheritance diagram for moMatrix2< Real >:
moAbstract

Public Member Functions

 moMatrix2 (bool bZero=true)
 
 moMatrix2 (const moMatrix2 &rkM)
 
 moMatrix2 (Real fM00, Real fM01, Real fM10, Real fM11)
 
 moMatrix2 (const Real afEntry[4], bool bRowMajor)
 
 moMatrix2 (const moVector2< Real > &rkU, const moVector2< Real > &rkV, bool bColumns)
 
 moMatrix2 (const moVector2< Real > *akV, bool bColumns)
 
 moMatrix2 (Real fM00, Real fM11)
 
 moMatrix2 (Real fAngle)
 
 moMatrix2 (const moVector2< Real > &rkU, const moVector2< Real > &rkV)
 
void MakeZero ()
 
void MakeIdentity ()
 
void MakeDiagonal (Real fM00, Real fM11)
 
void FromAngle (Real fAngle)
 
void MakeTensorProduct (const moVector2< Real > &rkU, const moVector2< Real > &rkV)
 
void SetRow (int iRow, const moVector2< Real > &rkV)
 
moVector2< Real > GetRow (int iRow) const
 
void SetColumn (int iCol, const moVector2< Real > &rkV)
 
moVector2< Real > GetColumn (int iCol) const
 
void GetColumnMajor (Real *afCMajor) const
 
bool operator== (const moMatrix2 &rkM) const
 
bool operator!= (const moMatrix2 &rkM) const
 
bool operator< (const moMatrix2 &rkM) const
 
bool operator<= (const moMatrix2 &rkM) const
 
bool operator> (const moMatrix2 &rkM) const
 
bool operator>= (const moMatrix2 &rkM) const
 
moMatrix2< Real > Transpose () const
 
moMatrix2< Real > TransposeTimes (const moMatrix2 &rkM) const
 
moMatrix2< Real > TimesTranspose (const moMatrix2 &rkM) const
 
moMatrix2< Real > Inverse () const
 
moMatrix2< Real > Adjoint () const
 
Real Determinant () const
 
Real QForm (const moVector2< Real > &rkU, const moVector2< Real > &rkV) const
 
void ToAngle (Real &rfAngle) const
 
void Orthonormalize ()
 
void EigenDecomposition (moMatrix2 &rkRot, moMatrix2 &rkDiag) const
 
moMatrix2operator= (const moMatrix2 &rkM)
 
moMatrix2 operator+ (const moMatrix2 &rkM) const
 
moMatrix2 operator- (const moMatrix2 &rkM) const
 
moMatrix2 operator* (const moMatrix2 &rkM) const
 
moMatrix2 operator* (Real fScalar) const
 
moMatrix2 operator/ (Real fScalar) const
 
moMatrix2 operator- () const
 
moMatrix2operator+= (const moMatrix2 &rkM)
 
moMatrix2operator-= (const moMatrix2 &rkM)
 
moMatrix2operator*= (Real fScalar)
 
moMatrix2operator/= (Real fScalar)
 
moVector2< Real > operator* (const moVector2< Real > &rkV) const
 
template<>
const moMatrix2< MOdoubleZERO (0.0, 0.0, 0.0, 0.0)
 
template<>
const moMatrix2< MOdoubleIDENTITY (1.0, 0.0, 0.0, 1.0)
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Static Public Attributes

static const moMatrix2 ZERO
 
static const moMatrix2 IDENTITY
 
- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 

Additional Inherited Members

- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 

Detailed Description

template<class Real>
class moMatrix2< Real >

Definition at line 87 of file moMathMatrix.h.

Constructor & Destructor Documentation

template<class Real>
moMatrix2< Real >::moMatrix2 ( bool  bZero = true)
inline

Definition at line 91 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( const moMatrix2< Real > &  rkM)
inline

Definition at line 103 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( Real  fM00,
Real  fM01,
Real  fM10,
Real  fM11 
)
inline

Definition at line 112 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( const Real  afEntry[4],
bool  bRowMajor 
)
inline

Definition at line 120 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( const moVector2< Real > &  rkU,
const moVector2< Real > &  rkV,
bool  bColumns 
)
inline

Definition at line 138 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( const moVector2< Real > *  akV,
bool  bColumns 
)
inline

Definition at line 157 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( Real  fM00,
Real  fM11 
)
inline

Definition at line 175 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( Real  fAngle)
inline

Definition at line 180 of file moMathMatrix.h.

template<class Real>
moMatrix2< Real >::moMatrix2 ( const moVector2< Real > &  rkU,
const moVector2< Real > &  rkV 
)
inline

Definition at line 186 of file moMathMatrix.h.

Member Function Documentation

template<class Real>
moMatrix2<Real> moMatrix2< Real >::Adjoint ( ) const
inline

Definition at line 369 of file moMathMatrix.h.

template<class Real>
Real moMatrix2< Real >::Determinant ( ) const
inline

Definition at line 378 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::EigenDecomposition ( moMatrix2< Real > &  rkRot,
moMatrix2< Real > &  rkDiag 
) const
inline

Definition at line 428 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::FromAngle ( Real  fAngle)
inline

Definition at line 219 of file moMathMatrix.h.

template<class Real>
moVector2<Real> moMatrix2< Real >::GetColumn ( int  iCol) const
inline

Definition at line 260 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::GetColumnMajor ( Real *  afCMajor) const
inline

Definition at line 266 of file moMathMatrix.h.

template<class Real>
moVector2<Real> moMatrix2< Real >::GetRow ( int  iRow) const
inline

Definition at line 246 of file moMathMatrix.h.

template<>
const moMatrix2< MOdouble > moMatrix2< MOdouble >::IDENTITY ( 1.  0,
0.  0,
0.  0,
1.  0 
)
template<class Real>
moMatrix2<Real> moMatrix2< Real >::Inverse ( ) const
inline

Definition at line 343 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::MakeDiagonal ( Real  fM00,
Real  fM11 
)
inline

Definition at line 210 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::MakeIdentity ( )
inline

Definition at line 201 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::MakeTensorProduct ( const moVector2< Real > &  rkU,
const moVector2< Real > &  rkV 
)
inline

Definition at line 228 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::MakeZero ( )
inline

Definition at line 192 of file moMathMatrix.h.

template<class Real>
bool moMatrix2< Real >::operator!= ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 283 of file moMathMatrix.h.

template<class Real>
moMatrix2 moMatrix2< Real >::operator* ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 486 of file moMathMatrix.h.

template<class Real>
moMatrix2 moMatrix2< Real >::operator* ( Real  fScalar) const
inline

Definition at line 494 of file moMathMatrix.h.

template<class Real>
moVector2<Real> moMatrix2< Real >::operator* ( const moVector2< Real > &  rkV) const
inline

Definition at line 576 of file moMathMatrix.h.

template<class Real>
moMatrix2& moMatrix2< Real >::operator*= ( Real  fScalar)
inline

Definition at line 546 of file moMathMatrix.h.

template<class Real>
moMatrix2 moMatrix2< Real >::operator+ ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 470 of file moMathMatrix.h.

template<class Real>
moMatrix2& moMatrix2< Real >::operator+= ( const moMatrix2< Real > &  rkM)
inline

Definition at line 530 of file moMathMatrix.h.

template<class Real>
moMatrix2 moMatrix2< Real >::operator- ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 478 of file moMathMatrix.h.

template<class Real>
moMatrix2 moMatrix2< Real >::operator- ( ) const
inline

Definition at line 520 of file moMathMatrix.h.

template<class Real>
moMatrix2& moMatrix2< Real >::operator-= ( const moMatrix2< Real > &  rkM)
inline

Definition at line 538 of file moMathMatrix.h.

template<class Real>
moMatrix2 moMatrix2< Real >::operator/ ( Real  fScalar) const
inline

Definition at line 502 of file moMathMatrix.h.

template<class Real>
moMatrix2& moMatrix2< Real >::operator/= ( Real  fScalar)
inline

Definition at line 554 of file moMathMatrix.h.

template<class Real>
bool moMatrix2< Real >::operator< ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 289 of file moMathMatrix.h.

template<class Real>
bool moMatrix2< Real >::operator<= ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 295 of file moMathMatrix.h.

template<class Real>
moMatrix2& moMatrix2< Real >::operator= ( const moMatrix2< Real > &  rkM)
inline

Definition at line 460 of file moMathMatrix.h.

template<class Real>
bool moMatrix2< Real >::operator== ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 277 of file moMathMatrix.h.

template<class Real>
bool moMatrix2< Real >::operator> ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 301 of file moMathMatrix.h.

template<class Real>
bool moMatrix2< Real >::operator>= ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 307 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::Orthonormalize ( )
inline

Definition at line 397 of file moMathMatrix.h.

template<class Real>
Real moMatrix2< Real >::QForm ( const moVector2< Real > &  rkU,
const moVector2< Real > &  rkV 
) const
inline

Definition at line 384 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::SetColumn ( int  iCol,
const moVector2< Real > &  rkV 
)
inline

Definition at line 253 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::SetRow ( int  iRow,
const moVector2< Real > &  rkV 
)
inline

Definition at line 238 of file moMathMatrix.h.

template<class Real>
moMatrix2<Real> moMatrix2< Real >::TimesTranspose ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 333 of file moMathMatrix.h.

template<class Real>
void moMatrix2< Real >::ToAngle ( Real &  rfAngle) const
inline

Definition at line 390 of file moMathMatrix.h.

template<class Real>
moMatrix2<Real> moMatrix2< Real >::Transpose ( ) const
inline

Definition at line 313 of file moMathMatrix.h.

template<class Real>
moMatrix2<Real> moMatrix2< Real >::TransposeTimes ( const moMatrix2< Real > &  rkM) const
inline

Definition at line 323 of file moMathMatrix.h.

template<>
const moMatrix2< MOdouble > moMatrix2< MOdouble >::ZERO ( 0.  0,
0.  0,
0.  0,
0.  0 
)

Member Data Documentation

template<class Real>
const moMatrix2 moMatrix2< Real >::IDENTITY
static

Definition at line 596 of file moMathMatrix.h.

template<class Real>
const moMatrix2 moMatrix2< Real >::ZERO
static

Definition at line 595 of file moMathMatrix.h.


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