21 unsigned int NDim()
const {
return 1; }
40 double y = (x[0]-p[1])/p[2];
44 using ROOT::Math::IParamMultiGradFunction::operator();
50 double y = (x[0]-
m )/s;
60 double DoEvalPar(
const double *
x,
const double * p)
const {
64 double y = (x[0]-
m)/s;
GaussFunction(double amp=1, double mean=0, double sigma=1)
void ParameterGradient(const double *x, const double *p, double *g) const
Evaluate the all the derivatives (gradient vector) of the function with respect to the parameters at ...
double DoEvalPar(const double *x, const double *p) const
Implementation of the evaluation function using the x values and the parameters.
const double * Parameters() const
Access the parameter values.
void SetParameters(const double *p)
Set the parameter values.
double DoParameterDerivative(const double *x, const double *p, unsigned int ipar) const
Evaluate the partial derivative w.r.t a parameter ipar , to be implemented by the derived classes...
Interface (abstract class) for parametric gradient multi-dimensional functions providing in addition ...
unsigned int NPar() const
Return the number of Parameters.
ROOT::Math::IMultiGenFunction * Clone() const
Clone a function.
typedef void((*Func_t)())
double operator()(const double *x, const double *p)
unsigned int NDim() const
Retrieve the dimension of the function.
Documentation for the abstract class IBaseFunctionMultiDim.
double DoDerivative(const double *x, unsigned int icoord) const