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

#include <moMathPolynomial.h>

Inheritance diagram for moPolynomial1< Real >:
moAbstract

Public Member Functions

 moPolynomial1 (int iDegree=-1)
 
 moPolynomial1 (const moPolynomial1 &rkPoly)
 
 ~moPolynomial1 ()
 
void SetDegree (int iDegree)
 
int GetDegree () const
 
 operator const Real * () const
 
 operator Real * ()
 
Real operator[] (int i) const
 
Real & operator[] (int i)
 
moPolynomial1operator= (const moPolynomial1 &rkPoly)
 
Real operator() (Real fT) const
 
moPolynomial1 operator+ (const moPolynomial1 &rkPoly) const
 
moPolynomial1 operator- (const moPolynomial1 &rkPoly) const
 
moPolynomial1 operator* (const moPolynomial1 &rkPoly) const
 
moPolynomial1 operator+ (Real fScalar) const
 
moPolynomial1 operator- (Real fScalar) const
 
moPolynomial1 operator* (Real fScalar) const
 
moPolynomial1 operator/ (Real fScalar) const
 
moPolynomial1 operator- () const
 
moPolynomial1operator+= (const moPolynomial1 &rkPoly)
 
moPolynomial1operator-= (const moPolynomial1 &rkPoly)
 
moPolynomial1operator*= (const moPolynomial1 &rkPoly)
 
moPolynomial1operator+= (Real fScalar)
 
moPolynomial1operator-= (Real fScalar)
 
moPolynomial1operator*= (Real fScalar)
 
moPolynomial1operator/= (Real fScalar)
 
moPolynomial1 GetDerivative () const
 
moPolynomial1 GetInversion () const
 
void Compress (Real fEpsilon)
 
void Divide (const moPolynomial1 &rkDiv, moPolynomial1 &rkQuot, moPolynomial1 &rkRem, Real fEpsilon) const
 
- 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 Attributes

int m_iDegree
 
Real * m_afCoeff
 

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 moPolynomial1< Real >

Definition at line 44 of file moMathPolynomial.h.

Constructor & Destructor Documentation

template<class Real >
moPolynomial1< Real >::moPolynomial1 ( int  iDegree = -1)

Definition at line 41 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real >::moPolynomial1 ( const moPolynomial1< Real > &  rkPoly)

Definition at line 57 of file moMathPolynomial.cpp.

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

Definition at line 68 of file moMathPolynomial.cpp.

Member Function Documentation

template<class Real >
void moPolynomial1< Real >::Compress ( Real  fEpsilon)

Definition at line 388 of file moMathPolynomial.cpp.

template<class Real >
void moPolynomial1< Real >::Divide ( const moPolynomial1< Real > &  rkDiv,
moPolynomial1< Real > &  rkQuot,
moPolynomial1< Real > &  rkRem,
Real  fEpsilon 
) const

Definition at line 415 of file moMathPolynomial.cpp.

template<class Real >
int moPolynomial1< Real >::GetDegree ( ) const

Definition at line 90 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::GetDerivative ( ) const

Definition at line 356 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::GetInversion ( ) const

Definition at line 377 of file moMathPolynomial.cpp.

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

Definition at line 96 of file moMathPolynomial.cpp.

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

Definition at line 102 of file moMathPolynomial.cpp.

template<class Real >
Real moPolynomial1< Real >::operator() ( Real  fT) const

Definition at line 138 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::operator* ( const moPolynomial1< Real > &  rkPoly) const

Definition at line 224 of file moMathPolynomial.cpp.

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

Definition at line 259 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > & moPolynomial1< Real >::operator*= ( const moPolynomial1< Real > &  rkPoly)

Definition at line 321 of file moMathPolynomial.cpp.

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

Definition at line 342 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::operator+ ( const moPolynomial1< Real > &  rkPoly) const

Definition at line 152 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::operator+ ( Real  fScalar) const

Definition at line 243 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > & moPolynomial1< Real >::operator+= ( const moPolynomial1< Real > &  rkPoly)

Definition at line 307 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > & moPolynomial1< Real >::operator+= ( Real  fScalar)

Definition at line 328 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::operator- ( const moPolynomial1< Real > &  rkPoly) const

Definition at line 188 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > moPolynomial1< Real >::operator- ( Real  fScalar) const

Definition at line 251 of file moMathPolynomial.cpp.

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

Definition at line 295 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > & moPolynomial1< Real >::operator-= ( const moPolynomial1< Real > &  rkPoly)

Definition at line 314 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > & moPolynomial1< Real >::operator-= ( Real  fScalar)

Definition at line 335 of file moMathPolynomial.cpp.

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

Definition at line 270 of file moMathPolynomial.cpp.

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

Definition at line 349 of file moMathPolynomial.cpp.

template<class Real >
moPolynomial1< Real > & moPolynomial1< Real >::operator= ( const moPolynomial1< Real > &  rkPoly)

Definition at line 120 of file moMathPolynomial.cpp.

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

Definition at line 108 of file moMathPolynomial.cpp.

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

Definition at line 114 of file moMathPolynomial.cpp.

template<class Real >
void moPolynomial1< Real >::SetDegree ( int  iDegree)

Definition at line 74 of file moMathPolynomial.cpp.

Member Data Documentation

template<class Real>
Real* moPolynomial1< Real >::m_afCoeff
protected

Definition at line 108 of file moMathPolynomial.h.

template<class Real>
int moPolynomial1< Real >::m_iDegree
protected

Definition at line 107 of file moMathPolynomial.h.


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