A++ » MATH » ROOT::Math::IBaseFunctionOneDim

class ROOT::Math::IBaseFunctionOneDim


       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

Function Members (Methods)

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

private:
virtual doubleDoEval(double x) const

Class Charts

Inheritance Chart:
ROOT::Math::IBaseFunctionOneDim
ROOT::Math::Functor1D
ROOT::Math::IGradientFunctionOneDim
ROOT::Math::GradFunctor1D
ROOT::Math::IParametricFunctionOneDim
ROOT::Math::IParametricGradFunctionOneDim
ROOT::Math::ParamFunction<ROOT::Math::IParametricGradFunctionOneDim>
ROOT::Math::Polynomial
ROOT::Math::WrappedTF1
ROOT::Math::VavilovAccurateCdf
ROOT::Math::VavilovAccuratePdf
 [more...]

Function documentation

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

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)
double operator()(double x) const
         Template method to eveluate the function using the begin of an iterator
         User is responsible to provide correct size for the iterator

IBaseFunctionOneDim()
{}
virtual ~IBaseFunctionOneDim()
         virtual destructor

{}