MeanWalker
Public Member Functions

meanwalker::Function Class Reference

Abstract base class for a (multidimensional) function. More...

#include <function.h>

List of all members.

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.

Detailed Description

Abstract base class for a (multidimensional) function.


Member Function Documentation

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.


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