Public Member Functions

MathFunction< RT, PT > Class Template Reference

Mathematical function. More...

Inheritance diagram for MathFunction< RT, PT >:
MathFunctionND< RT, PT > AlongVectorFunction< RT, PT >

List of all members.

Public Member Functions

virtual RT getValue (PT) const =0
RT getValue (const PT *pos) const
int getNrDim () const

Detailed Description

template<class RT, class PT>
class MathFunction< RT, PT >

Mathematical function.

A MathFunction must deliver a value at any position: F(x). The positioning may need a different precision than the outcome, hence the two types.


Member Function Documentation

template<class RT, class PT>
int MathFunction< RT, PT >::getNrDim (  )  const [inline, virtual]
template<class RT, class PT>
RT MathFunction< RT, PT >::getValue ( const PT *  pos  )  const [inline, virtual]