MeanWalker
|
Abstract base class for a (multidimensional) function. More...
#include <function.h>
Public Member Functions | |
virtual double | operator() (const double *pCoords) const =0 |
A derived class must calculate the function value for the specified coordinates. | |
virtual size_t | getDimension () const =0 |
Must return the dimension of the function, i.e. | |
virtual bool | isValid (const double *pCoords) const |
Should return true is the coordinates lie in the valid region of the probability density, false otherwise. | |
virtual bool | isLog () const =0 |
Should return false if this function represents the 'normal' probability density, or true if it represents the logarithm of the density. |
Abstract base class for a (multidimensional) function.
virtual size_t meanwalker::Function::getDimension | ( | ) | const [pure virtual] |
Must return the dimension of the function, i.e.
how many coordinates the function needs to evaluate its value.
virtual bool meanwalker::Function::isLog | ( | ) | const [pure virtual] |
Should return false if this function represents the 'normal' probability density, or true if it represents the logarithm of the density.
virtual bool meanwalker::Function::isValid | ( | const double * | pCoords | ) | const [inline, virtual] |
Should return true is the coordinates lie in the valid region of the probability density, false otherwise.
virtual double meanwalker::Function::operator() | ( | const double * | pCoords | ) | const [pure virtual] |
A derived class must calculate the function value for the specified coordinates.