Public Member Functions | Public Attributes | Protected Attributes

MathFunctionSampler< RT, PT > Class Template Reference

Makes a MathFunction indexable through an operator[]. More...

List of all members.

Public Member Functions

 MathFunctionSampler (const MathFunction< RT, PT > &f)
RT operator[] (int idx) const

Public Attributes

SamplingData< PT > sd

Protected Attributes

const MathFunction< RT, PT > & func

Detailed Description

template<class RT, class PT>
class MathFunctionSampler< RT, PT >

Makes a MathFunction indexable through an operator[].


Constructor & Destructor Documentation

template<class RT , class PT >
MathFunctionSampler< RT, PT >::MathFunctionSampler ( const MathFunction< RT, PT > &  f  )  [inline]

Member Function Documentation

template<class RT , class PT >
RT MathFunctionSampler< RT, PT >::operator[] ( int  idx  )  const [inline]

Member Data Documentation

template<class RT , class PT >
const MathFunction<RT,PT>& MathFunctionSampler< RT, PT >::func [protected]
template<class RT , class PT >
SamplingData<PT> MathFunctionSampler< RT, PT >::sd