ROOT logo
ROOT » MATH » MATHCORE » ROOT::Math::IParametricFunctionOneDim

class ROOT::Math::IParametricFunctionOneDim: public ROOT::Math::IBaseFunctionOneDim, public ROOT::Math::IBaseParam


    Documentation for the abstract class IBaseParam.
    It defines the interface for dealing with the function parameters
    This is used only for internal convinience, to avoid redefining the Parameter API
    for the one and the multi-dim functions.
    Concrete class should derive from ROOT::Math::IParamFunction and not from this class.

    @ingroup  ParamFunc

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

ROOT::Fit::Fitter::IModel1DFunction, ROOT::Math::IParametricGradFunctionOneDim::BaseParamFunc, ROOT::Math::IParamFunction

Function Members (Methods)

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

public:
~IParametricFunctionOneDim()
virtual ROOT::Math::IBaseFunctionOneDim*ROOT::Math::IBaseFunctionOneDim::Clone() const
virtual unsigned intROOT::Math::IBaseParam::NPar() const
doubleoperator()(double x, const double* p) const
doubleoperator()(const double* x, const double* p) const
ROOT::Math::IParametricFunctionOneDim&operator=(const ROOT::Math::IParametricFunctionOneDim&)
virtual stringROOT::Math::IBaseParam::ParameterName(unsigned int i) const
virtual const double*ROOT::Math::IBaseParam::Parameters() const
virtual voidROOT::Math::IBaseParam::SetParameters(const double* p)
private:
virtual doubleDoEval(double x) const
virtual doubleDoEvalPar(double x, const double* p) const

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

double operator()(const double* x, const double* p) const
      Evaluate function at a point x and for given parameters p.
      This method does not change the internal status of the function (internal parameter values).
      If for some reason one prefers caching the parameter values, SetParameters(p) and then operator()(x) should be
      called.
      Use the pure virtual function DoEvalPar to implement it

return DoEvalPar(x, p)
double DoEval(double x) const
      Implement the ROOT::Math::IBaseFunctionMultiDim interface DoEval(x) using the cached parameter values

double operator()(double x, const double* p) const
      Evaluate function at a point x and for given parameters p.
      This method does not change the internal status of the function (internal parameter values).
      If for some reason one prefers caching the parameter values, SetParameters(p) and then operator()(x) should be
      called.
      Use the pure virtual function DoEvalPar to implement it