Wm4::Matrix2< Real > Class Template Reference

#include <Wm4Matrix2.h>

List of all members.

Public Member Functions

Matrix2 Adjoint () const
Real Determinant () const
void EigenDecomposition (Matrix2 &rkRot, Matrix2 &rkDiag) const
void FromAngle (Real fAngle)
Vector2< Real > GetColumn (int iCol) const
void GetColumnMajor (Real *afCMajor) const
Vector2< Real > GetRow (int iRow) const
Matrix2 Inverse () const
void MakeDiagonal (Real fM00, Real fM11)
void MakeIdentity ()
void MakeTensorProduct (const Vector2< Real > &rkU, const Vector2< Real > &rkV)
void MakeZero ()
 Matrix2 (const Vector2< Real > &rkU, const Vector2< Real > &rkV)
 Matrix2 (Real fAngle)
 Matrix2 (Real fM00, Real fM11)
 Matrix2 (const Vector2< Real > *akV, bool bColumns)
 Matrix2 (const Vector2< Real > &rkU, const Vector2< Real > &rkV, bool bColumns)
 Matrix2 (const Real afEntry[4], bool bRowMajor)
 Matrix2 (Real fM00, Real fM01, Real fM10, Real fM11)
 Matrix2 (const Matrix2 &rkM)
 Matrix2 (bool bZero=true)
 operator const Real * () const
 operator Real * ()
bool operator!= (const Matrix2 &rkM) const
Real & operator() (int iRow, int iCol)
Real operator() (int iRow, int iCol) const
Vector2< Real > operator* (const Vector2< Real > &rkV) const
Matrix2 operator* (Real fScalar) const
Matrix2 operator* (const Matrix2 &rkM) const
Matrix2operator*= (Real fScalar)
Matrix2 operator+ (const Matrix2 &rkM) const
Matrix2operator+= (const Matrix2 &rkM)
Matrix2 operator- () const
Matrix2 operator- (const Matrix2 &rkM) const
Matrix2operator-= (const Matrix2 &rkM)
Matrix2 operator/ (Real fScalar) const
Matrix2operator/= (Real fScalar)
bool operator< (const Matrix2 &rkM) const
bool operator<= (const Matrix2 &rkM) const
Matrix2operator= (const Matrix2 &rkM)
bool operator== (const Matrix2 &rkM) const
bool operator> (const Matrix2 &rkM) const
bool operator>= (const Matrix2 &rkM) const
Real * operator[] (int iRow)
const Real * operator[] (int iRow) const
void Orthonormalize ()
Real QForm (const Vector2< Real > &rkU, const Vector2< Real > &rkV) const
void SetColumn (int iCol, const Vector2< Real > &rkV)
void SetRow (int iRow, const Vector2< Real > &rkV)
Matrix2 TimesTranspose (const Matrix2 &rkM) const
void ToAngle (Real &rfAngle) const
Matrix2 Transpose () const
Matrix2 TransposeTimes (const Matrix2 &rkM) const

Static Public Attributes

static const Matrix2 IDENTITY
static const Matrix2 ZERO

Detailed Description

template<class Real>
class Wm4::Matrix2< Real >

Definition at line 51 of file Wm4Matrix2.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( bool  bZero = true  )  [inline]
template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( const Matrix2< Real > &  rkM  )  [inline]

Definition at line 34 of file Wm4Matrix2.inl.

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( Real  fM00,
Real  fM01,
Real  fM10,
Real  fM11 
) [inline]

Definition at line 43 of file Wm4Matrix2.inl.

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

Definition at line 52 of file Wm4Matrix2.inl.

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( const Vector2< Real > &  rkU,
const Vector2< Real > &  rkV,
bool  bColumns 
) [inline]

Definition at line 71 of file Wm4Matrix2.inl.

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( const Vector2< Real > *  akV,
bool  bColumns 
) [inline]

Definition at line 91 of file Wm4Matrix2.inl.

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( Real  fM00,
Real  fM11 
) [inline]

Definition at line 110 of file Wm4Matrix2.inl.

References Wm4::Matrix2< Real >::MakeDiagonal().

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( Real  fAngle  )  [inline]

Definition at line 116 of file Wm4Matrix2.inl.

References Wm4::Matrix2< Real >::FromAngle().

template<class Real >
Wm4::Matrix2< Real >::Matrix2 ( const Vector2< Real > &  rkU,
const Vector2< Real > &  rkV 
) [inline]

Definition at line 122 of file Wm4Matrix2.inl.

References Wm4::Matrix2< Real >::MakeTensorProduct().


Member Function Documentation

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::Adjoint (  )  const [inline]

Definition at line 486 of file Wm4Matrix2.inl.

template<class Real >
Real Wm4::Matrix2< Real >::Determinant (  )  const [inline]
template<class Real >
void Wm4::Matrix2< Real >::EigenDecomposition ( Matrix2< Real > &  rkRot,
Matrix2< Real > &  rkDiag 
) const [inline]

Definition at line 547 of file Wm4Matrix2.inl.

References Wm4::Matrix2< Real >::MakeDiagonal().

template<class Real >
void Wm4::Matrix2< Real >::FromAngle ( Real  fAngle  )  [inline]

Definition at line 191 of file Wm4Matrix2.inl.

Referenced by Wm4::Matrix2< Real >::Matrix2().

template<class Real >
Vector2< Real > Wm4::Matrix2< Real >::GetColumn ( int  iCol  )  const [inline]

Definition at line 232 of file Wm4Matrix2.inl.

template<class Real >
void Wm4::Matrix2< Real >::GetColumnMajor ( Real *  afCMajor  )  const [inline]

Definition at line 238 of file Wm4Matrix2.inl.

template<class Real >
Vector2< Real > Wm4::Matrix2< Real >::GetRow ( int  iRow  )  const [inline]

Definition at line 218 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::Inverse (  )  const [inline]

Definition at line 461 of file Wm4Matrix2.inl.

template<class Real >
void Wm4::Matrix2< Real >::MakeDiagonal ( Real  fM00,
Real  fM11 
) [inline]
template<class Real >
void Wm4::Matrix2< Real >::MakeIdentity (  )  [inline]

Definition at line 173 of file Wm4Matrix2.inl.

Referenced by Wm4::Matrix2< Real >::Matrix2().

template<class Real >
void Wm4::Matrix2< Real >::MakeTensorProduct ( const Vector2< Real > &  rkU,
const Vector2< Real > &  rkV 
) [inline]

Definition at line 200 of file Wm4Matrix2.inl.

Referenced by Wm4::Matrix2< Real >::Matrix2().

template<class Real >
void Wm4::Matrix2< Real >::MakeZero (  )  [inline]

Definition at line 164 of file Wm4Matrix2.inl.

Referenced by Wm4::Matrix2< Real >::Matrix2().

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

Definition at line 128 of file Wm4Matrix2.inl.

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

Definition at line 134 of file Wm4Matrix2.inl.

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

Definition at line 269 of file Wm4Matrix2.inl.

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

Definition at line 158 of file Wm4Matrix2.inl.

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

Definition at line 152 of file Wm4Matrix2.inl.

template<class Real >
Vector2< Real > Wm4::Matrix2< Real >::operator* ( const Vector2< Real > &  rkV  )  const [inline]

Definition at line 421 of file Wm4Matrix2.inl.

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

Definition at line 329 of file Wm4Matrix2.inl.

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

Definition at line 319 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > & Wm4::Matrix2< Real >::operator*= ( Real  fScalar  )  [inline]

Definition at line 389 of file Wm4Matrix2.inl.

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

Definition at line 299 of file Wm4Matrix2.inl.

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

Definition at line 369 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::operator- ( void   )  const [inline]

Definition at line 359 of file Wm4Matrix2.inl.

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

Definition at line 309 of file Wm4Matrix2.inl.

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

Definition at line 379 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::operator/ ( Real  fScalar  )  const [inline]

Definition at line 339 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > & Wm4::Matrix2< Real >::operator/= ( Real  fScalar  )  [inline]

Definition at line 399 of file Wm4Matrix2.inl.

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

Definition at line 275 of file Wm4Matrix2.inl.

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

Definition at line 281 of file Wm4Matrix2.inl.

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

Definition at line 247 of file Wm4Matrix2.inl.

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

Definition at line 263 of file Wm4Matrix2.inl.

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

Definition at line 287 of file Wm4Matrix2.inl.

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

Definition at line 293 of file Wm4Matrix2.inl.

template<class Real >
Real * Wm4::Matrix2< Real >::operator[] ( int  iRow  )  [inline]

Definition at line 146 of file Wm4Matrix2.inl.

template<class Real >
const Real * Wm4::Matrix2< Real >::operator[] ( int  iRow  )  const [inline]

Definition at line 140 of file Wm4Matrix2.inl.

template<class Real >
void Wm4::Matrix2< Real >::Orthonormalize (  )  [inline]

Definition at line 516 of file Wm4Matrix2.inl.

template<class Real >
Real Wm4::Matrix2< Real >::QForm ( const Vector2< Real > &  rkU,
const Vector2< Real > &  rkV 
) const [inline]

Definition at line 502 of file Wm4Matrix2.inl.

References Wm4::Vector2< Real >::Dot().

template<class Real >
void Wm4::Matrix2< Real >::SetColumn ( int  iCol,
const Vector2< Real > &  rkV 
) [inline]

Definition at line 225 of file Wm4Matrix2.inl.

template<class Real >
void Wm4::Matrix2< Real >::SetRow ( int  iRow,
const Vector2< Real > &  rkV 
) [inline]

Definition at line 210 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::TimesTranspose ( const Matrix2< Real > &  rkM  )  const [inline]

Definition at line 450 of file Wm4Matrix2.inl.

template<class Real >
void Wm4::Matrix2< Real >::ToAngle ( Real &  rfAngle  )  const [inline]

Definition at line 509 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::Transpose (  )  const [inline]

Definition at line 429 of file Wm4Matrix2.inl.

template<class Real >
Matrix2< Real > Wm4::Matrix2< Real >::TransposeTimes ( const Matrix2< Real > &  rkM  )  const [inline]

Definition at line 439 of file Wm4Matrix2.inl.


Member Data Documentation

template<class Real>
const Matrix2 Wm4::Matrix2< Real >::IDENTITY [static]

Definition at line 160 of file Wm4Matrix2.h.

template<class Real>
const Matrix2 Wm4::Matrix2< Real >::ZERO [static]

Definition at line 159 of file Wm4Matrix2.h.


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