Logo ROOT   6.08/07
Reference Guide
List of all members | Public Types | Public Member Functions | Private Member Functions | List of all members
ROOT::Math::IBaseFunctionMultiDim Class Referenceabstract

Documentation for the abstract class IBaseFunctionMultiDim.

Interface (abstract class) for generic functions objects of multi-dimension Provides a method to evaluate the function given a vector of coordinate values, by implementing operator() (const double *). In addition it defines the interface for copying functions via the pure virtual method Clone() and the interface for getting the function dimension via the NDim() method. Derived classes must implement the pure private virtual method DoEval(const double *) for the function evaluation in addition to NDim() and Clone().

Definition at line 63 of file IFunction.h.

Public Types

typedef IBaseFunctionMultiDim BaseFunc
 

Public Member Functions

 IBaseFunctionMultiDim ()
 
virtual ~IBaseFunctionMultiDim ()
 virtual destructor More...
 
virtual IBaseFunctionMultiDimClone () const =0
 Clone a function. More...
 
virtual unsigned int NDim () const =0
 Retrieve the dimension of the function. More...
 
double operator() (const double *x) const
 Evaluate the function at a point x[]. More...
 

Private Member Functions

virtual double DoEval (const double *x) const =0
 Implementation of the evaluation function. More...
 

#include <Math/IFunction.h>

Inheritance diagram for ROOT::Math::IBaseFunctionMultiDim:
[legend]

Member Typedef Documentation

◆ BaseFunc

Definition at line 67 of file IFunction.h.

Constructor & Destructor Documentation

◆ IBaseFunctionMultiDim()

ROOT::Math::IBaseFunctionMultiDim::IBaseFunctionMultiDim ( )
inline

Definition at line 70 of file IFunction.h.

◆ ~IBaseFunctionMultiDim()

virtual ROOT::Math::IBaseFunctionMultiDim::~IBaseFunctionMultiDim ( )
inlinevirtual

virtual destructor

Definition at line 75 of file IFunction.h.

Member Function Documentation

◆ Clone()

virtual IBaseFunctionMultiDim* ROOT::Math::IBaseFunctionMultiDim::Clone ( ) const
pure virtual

◆ DoEval()

virtual double ROOT::Math::IBaseFunctionMultiDim::DoEval ( const double *  x) const
privatepure virtual

◆ NDim()

virtual unsigned int ROOT::Math::IBaseFunctionMultiDim::NDim ( ) const
pure virtual

◆ operator()()

double ROOT::Math::IBaseFunctionMultiDim::operator() ( const double *  x) const
inline

Evaluate the function at a point x[].

Use the pure virtual private method DoEval which must be implemented by the sub-classes

Definition at line 92 of file IFunction.h.


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