Public Member Functions | Protected Attributes

PolynomialND< T > Class Template Reference

List of all members.

Public Member Functions

 PolynomialND (const ArrayNDInfo &)
 ~PolynomialND ()
bool fit (const ArrayND< T > &)
void setCoeff (const int *pos, T val)
getCoeff (const int *pos) const
getValue (const TypeSet< float > &) const
getValue3D (float x0, float x1, float x2) const

Protected Attributes

ArrayNDImpl< T > coeffs
LinSolver< T > * solver

template<class T>
class PolynomialND< T >


Constructor & Destructor Documentation

template<class T >
PolynomialND< T >::PolynomialND ( const ArrayNDInfo size_  ) 
template<class T >
PolynomialND< T >::~PolynomialND (  ) 

Member Function Documentation

template<class T >
bool PolynomialND< T >::fit ( const ArrayND< T > &  input  ) 
template<class T >
T PolynomialND< T >::getCoeff ( const int *  pos  )  const [inline]
template<class T >
T PolynomialND< T >::getValue ( const TypeSet< float > &  pos  )  const [inline]
template<class T >
T PolynomialND< T >::getValue3D ( float  x0,
float  x1,
float  x2 
) const [inline]
template<class T >
void PolynomialND< T >::setCoeff ( const int *  pos,
val 
) [inline]

Member Data Documentation

template<class T >
ArrayNDImpl<T> PolynomialND< T >::coeffs [protected]
template<class T >
LinSolver<T>* PolynomialND< T >::solver [protected]