Wm4::Polynomial1< Real > Class Template Reference

#include <Wm4Polynomial1.h>

List of all members.

Public Member Functions

void Compress (Real fEpsilon)
void Divide (const Polynomial1 &rkDiv, Polynomial1 &rkQuot, Polynomial1 &rkRem, Real fEpsilon) const
int GetDegree () const
Polynomial1 GetDerivative () const
Polynomial1 GetInversion () const
 operator const Real * () const
 operator Real * ()
Real operator() (Real fT) const
Polynomial1 operator* (Real fScalar) const
Polynomial1 operator* (const Polynomial1 &rkPoly) const
Polynomial1operator*= (Real fScalar)
Polynomial1operator*= (const Polynomial1 &rkPoly)
Polynomial1 operator+ (Real fScalar) const
Polynomial1 operator+ (const Polynomial1 &rkPoly) const
Polynomial1operator+= (Real fScalar)
Polynomial1operator+= (const Polynomial1 &rkPoly)
Polynomial1 operator- () const
Polynomial1 operator- (Real fScalar) const
Polynomial1 operator- (const Polynomial1 &rkPoly) const
Polynomial1operator-= (Real fScalar)
Polynomial1operator-= (const Polynomial1 &rkPoly)
Polynomial1 operator/ (Real fScalar) const
Polynomial1operator/= (Real fScalar)
Polynomial1operator= (const Polynomial1 &rkPoly)
Real & operator[] (int i)
Real operator[] (int i) const
 Polynomial1 (const Polynomial1 &rkPoly)
 Polynomial1 (int iDegree=-1)
void SetDegree (int iDegree)
 ~Polynomial1 ()

Protected Attributes

Real * m_afCoeff
int m_iDegree

Detailed Description

template<class Real>
class Wm4::Polynomial1< Real >

Definition at line 27 of file Wm4Polynomial1.h.


Constructor & Destructor Documentation

template<class Real >
Wm4::Polynomial1< Real >::Polynomial1 ( int  iDegree = -1  )  [inline]
template<class Real >
Wm4::Polynomial1< Real >::Polynomial1 ( const Polynomial1< Real > &  rkPoly  )  [inline]
template<class Real >
Wm4::Polynomial1< Real >::~Polynomial1 (  )  [inline]

Definition at line 48 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_afCoeff, and WM4_DELETE.


Member Function Documentation

template<class Real >
void Wm4::Polynomial1< Real >::Compress ( Real  fEpsilon  )  [inline]
template<class Real >
void Wm4::Polynomial1< Real >::Divide ( const Polynomial1< Real > &  rkDiv,
Polynomial1< Real > &  rkQuot,
Polynomial1< Real > &  rkRem,
Real  fEpsilon 
) const [inline]
template<class Real >
int Wm4::Polynomial1< Real >::GetDegree (  )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::GetDerivative (  )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::GetInversion (  )  const [inline]
template<class Real >
Wm4::Polynomial1< Real >::operator const Real * (  )  const [inline]

Definition at line 76 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_afCoeff.

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

Definition at line 82 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_afCoeff.

template<class Real >
Real Wm4::Polynomial1< Real >::operator() ( Real  fT  )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator* ( Real  fScalar  )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator* ( const Polynomial1< Real > &  rkPoly  )  const [inline]
template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator*= ( Real  fScalar  )  [inline]

Definition at line 356 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_iDegree.

template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator*= ( const Polynomial1< Real > &  rkPoly  )  [inline]

Definition at line 332 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_iDegree.

template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator+ ( Real  fScalar  )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator+ ( const Polynomial1< Real > &  rkPoly  )  const [inline]
template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator+= ( Real  fScalar  )  [inline]
template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator+= ( const Polynomial1< Real > &  rkPoly  )  [inline]

Definition at line 316 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_iDegree.

template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator- ( void   )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator- ( Real  fScalar  )  const [inline]
template<class Real >
Polynomial1< Real > Wm4::Polynomial1< Real >::operator- ( const Polynomial1< Real > &  rkPoly  )  const [inline]
template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator-= ( Real  fScalar  )  [inline]
template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator-= ( const Polynomial1< Real > &  rkPoly  )  [inline]

Definition at line 324 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_iDegree.

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

Definition at line 364 of file Wm4Polynomial1.inl.

References Wm4::Polynomial1< Real >::m_iDegree.

template<class Real >
Polynomial1< Real > & Wm4::Polynomial1< Real >::operator= ( const Polynomial1< Real > &  rkPoly  )  [inline]
template<class Real >
Real & Wm4::Polynomial1< Real >::operator[] ( int  i  )  [inline]
template<class Real >
Real Wm4::Polynomial1< Real >::operator[] ( int  i  )  const [inline]
template<class Real >
void Wm4::Polynomial1< Real >::SetDegree ( int  iDegree  )  [inline]

Member Data Documentation

template<class Real>
Real* Wm4::Polynomial1< Real >::m_afCoeff [protected]
template<class Real>
int Wm4::Polynomial1< Real >::m_iDegree [protected]

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

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