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
moDVector< Real > Class Template Reference

#include <moMathDVector.h>

Inheritance diagram for moDVector< Real >:
moAbstract

Public Member Functions

 moDVector (int iSize=0)
 
 moDVector (int iSize, const Real *afTuple)
 
 moDVector (const moDVector &rkV)
 
 ~moDVector ()
 
void SetSize (int iSize)
 
int GetSize () const
 
 operator const Real * () const
 
 operator Real * ()
 
Real operator[] (int i) const
 
Real & operator[] (int i)
 
moDVectoroperator= (const moDVector &rkV)
 
bool operator== (const moDVector &rkV) const
 
bool operator!= (const moDVector &rkV) const
 
bool operator< (const moDVector &rkV) const
 
bool operator<= (const moDVector &rkV) const
 
bool operator> (const moDVector &rkV) const
 
bool operator>= (const moDVector &rkV) const
 
moDVector operator+ (const moDVector &rkV) const
 
moDVector operator- (const moDVector &rkV) const
 
moDVector operator* (Real fScalar) const
 
moDVector operator/ (Real fScalar) const
 
moDVector operator- () const
 
moDVectoroperator+= (const moDVector &rkV)
 
moDVectoroperator-= (const moDVector &rkV)
 
moDVectoroperator*= (Real fScalar)
 
moDVectoroperator/= (Real fScalar)
 
Real Length () const
 
Real SquaredLength () const
 
Real Dot (const moDVector &rkV) const
 
Real Normalize ()
 
- 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...
 

Protected Member Functions

int CompareArrays (const moDVector &rkV) const
 

Protected Attributes

int m_iSize
 
Real * m_afTuple
 

Additional Inherited Members

- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 
- 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...
 

Detailed Description

template<class Real>
class moDVector< Real >

Definition at line 44 of file moMathDVector.h.

Constructor & Destructor Documentation

template<class Real >
moDVector< Real >::moDVector ( int  iSize = 0)

Definition at line 42 of file moMathDVector.cpp.

template<class Real >
moDVector< Real >::moDVector ( int  iSize,
const Real *  afTuple 
)

Definition at line 58 of file moMathDVector.cpp.

template<class Real >
moDVector< Real >::moDVector ( const moDVector< Real > &  rkV)

Definition at line 75 of file moMathDVector.cpp.

template<class Real >
moDVector< Real >::~moDVector ( )

Definition at line 91 of file moMathDVector.cpp.

Member Function Documentation

template<class Real >
int moDVector< Real >::CompareArrays ( const moDVector< Real > &  rkV) const
protected

Definition at line 169 of file moMathDVector.cpp.

template<class Real >
Real moDVector< Real >::Dot ( const moDVector< Real > &  rkV) const

Definition at line 367 of file moMathDVector.cpp.

template<class Real >
int moDVector< Real >::GetSize ( ) const

Definition at line 114 of file moMathDVector.cpp.

template<class Real >
Real moDVector< Real >::Length ( ) const

Definition at line 345 of file moMathDVector.cpp.

template<class Real >
Real moDVector< Real >::Normalize ( )

Definition at line 378 of file moMathDVector.cpp.

template<class Real >
moDVector< Real >::operator const Real * ( ) const

Definition at line 120 of file moMathDVector.cpp.

template<class Real >
moDVector< Real >::operator Real * ( )

Definition at line 126 of file moMathDVector.cpp.

template<class Real >
bool moDVector< Real >::operator!= ( const moDVector< Real > &  rkV) const

Definition at line 181 of file moMathDVector.cpp.

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

Definition at line 233 of file moMathDVector.cpp.

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

Definition at line 311 of file moMathDVector.cpp.

template<class Real >
moDVector< Real > moDVector< Real >::operator+ ( const moDVector< Real > &  rkV) const

Definition at line 211 of file moMathDVector.cpp.

template<class Real >
moDVector< Real > & moDVector< Real >::operator+= ( const moDVector< Real > &  rkV)

Definition at line 291 of file moMathDVector.cpp.

template<class Real >
moDVector< Real > moDVector< Real >::operator- ( const moDVector< Real > &  rkV) const

Definition at line 222 of file moMathDVector.cpp.

template<class Real >
moDVector< Real > moDVector< Real >::operator- ( ) const

Definition at line 269 of file moMathDVector.cpp.

template<class Real >
moDVector< Real > & moDVector< Real >::operator-= ( const moDVector< Real > &  rkV)

Definition at line 301 of file moMathDVector.cpp.

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

Definition at line 244 of file moMathDVector.cpp.

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

Definition at line 321 of file moMathDVector.cpp.

template<class Real >
bool moDVector< Real >::operator< ( const moDVector< Real > &  rkV) const

Definition at line 187 of file moMathDVector.cpp.

template<class Real >
bool moDVector< Real >::operator<= ( const moDVector< Real > &  rkV) const

Definition at line 193 of file moMathDVector.cpp.

template<class Real >
moDVector< Real > & moDVector< Real >::operator= ( const moDVector< Real > &  rkV)

Definition at line 146 of file moMathDVector.cpp.

template<class Real >
bool moDVector< Real >::operator== ( const moDVector< Real > &  rkV) const

Definition at line 175 of file moMathDVector.cpp.

template<class Real >
bool moDVector< Real >::operator> ( const moDVector< Real > &  rkV) const

Definition at line 199 of file moMathDVector.cpp.

template<class Real >
bool moDVector< Real >::operator>= ( const moDVector< Real > &  rkV) const

Definition at line 205 of file moMathDVector.cpp.

template<class Real >
Real moDVector< Real >::operator[] ( int  i) const

Definition at line 132 of file moMathDVector.cpp.

template<class Real >
Real & moDVector< Real >::operator[] ( int  i)

Definition at line 139 of file moMathDVector.cpp.

template<class Real >
void moDVector< Real >::SetSize ( int  iSize)

Definition at line 97 of file moMathDVector.cpp.

template<class Real >
Real moDVector< Real >::SquaredLength ( ) const

Definition at line 356 of file moMathDVector.cpp.

Member Data Documentation

template<class Real>
Real* moDVector< Real >::m_afTuple
protected

Definition at line 96 of file moMathDVector.h.

template<class Real>
int moDVector< Real >::m_iSize
protected

Definition at line 95 of file moMathDVector.h.


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