ROOT logo
ROOT » MATH » MATHCORE » ROOT::Math::IBaseFunctionMultiDim

class ROOT::Math::IBaseFunctionMultiDim


       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().

       @ingroup  GenFunc

This class is also known as (typedefs to this class)

ROOT::Fit::Chi2FCN<ROOT::Math::IGradientFunctionMultiDim>::BaseFunction, ROOT::Math::BasicFitMethodFunction<ROOT::Math::IGradientFunctionMultiDim>::BaseFunction, ROOT::Fit::Fitter::BaseFunc, ROOT::Math::IBaseFunctionMultiDim::BaseFunc, ROOT::Math::IMultiGenFunction, ROOT::Fit::LogLikelihoodFCN<ROOT::Math::IGradientFunctionMultiDim>::BaseFunction, ROOT::Math::IGradientFunctionMultiDim::BaseFunc, ROOT::Math::Functor::Impl, ROOT::Fit::LogLikelihoodFCN<ROOT::Math::IBaseFunctionMultiDim>::BaseFunction, ROOT::Math::WrappedMultiTF1::BaseFunc, ROOT::Fit::Chi2FCN<ROOT::Math::IBaseFunctionMultiDim>::BaseFunction, ROOT::Fit::PoissonLikelihoodFCN<ROOT::Math::IGradientFunctionMultiDim>::BaseFunction, ROOT::Math::IParametricFunctionMultiDim::BaseFunc, ROOT::Math::BasicFitMethodFunction<ROOT::Math::IBaseFunctionMultiDim>::BaseFunction, ROOT::Fit::PoissonLikelihoodFCN<ROOT::Math::IBaseFunctionMultiDim>::BaseFunction, ROOT::Math::IParametricGradFunctionMultiDim::BaseFunc, ROOT::Math::GradFunctor::ImplBase, ROOT::Math::Functor::ImplBase

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~IBaseFunctionMultiDim()
virtual ROOT::Math::IBaseFunctionMultiDim*Clone() const
virtual unsigned intNDim() const
doubleoperator()(const double* x) const
ROOT::Math::IBaseFunctionMultiDim&operator=(const ROOT::Math::IBaseFunctionMultiDim&)
private:
virtual doubleDoEval(const double* x) const

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~IBaseFunctionMultiDim()
         virtual destructor

{}
IBaseFunctionMultiDim * Clone() const
          Clone a function.
          Each derived class must implement his version of the Clone method

unsigned int NDim() const
         Retrieve the dimension of the function

double operator()(const double* x) const
          Evaluate the function at a point x[].
          Use the pure virtual private method DoEval which must be implemented by the sub-classes

return DoEval(x)