13 #ifndef ROOT_Math_MultiDimParamFunctionAdapter 14 #define ROOT_Math_MultiDimParamFunctionAdapter 275 fFunc->ParameterGradient(*x, p, grad);
294 return fFunc->ParameterDerivative(*x, p, ipar);
virtual const double * Parameters() const =0
Access the parameter values.
unsigned int NDim() const
Retrieve the dimension of the function.
Namespace for new ROOT classes and functions.
IParamGradFunction * fFunc
MultiDimParamGradFunctionAdapter(IParamGradFunction &f)
Constructor from a param one dim function interface from a non const reference Do not own the functio...
double DoEvalPar(const double *x, const double *p) const
needed by the interface
virtual ~MultiDimParamFunctionAdapter()
Destructor (no operations)
void ParameterGradient(const double *x, const double *p, double *grad) const
MultiDimParamFunctionAdapter & operator=(const MultiDimParamFunctionAdapter &rhs)
Assignment operator.
double DoEvalPar(const double *x, const double *p) const
functions needed by interface
Interface (abstract class) for parametric gradient multi-dimensional functions providing in addition ...
typename IParametricFunctionMultiDimTempl< T >::BaseFunc BaseFunc
MultiDimParamFunctionAdapter class to wrap a one-dimensional parametric function in a multi dimension...
const double * Parameters() const
Access the parameter values.
virtual ~MultiDimParamGradFunctionAdapter()
Destructor (no operations)
MultiDimParamGradFunctionAdapter & operator=(const MultiDimParamGradFunctionAdapter &rhs)
Assignment operator.
MultiDimParamGradFunctionAdapter(const MultiDimParamGradFunctionAdapter &rhs)
Copy constructor.
double DoParameterDerivative(const double *x, const double *p, unsigned int ipar) const
unsigned int NPar() const
Return the number of Parameters.
Documentation for the abstract class IBaseFunctionMultiDim.
virtual unsigned int NPar() const =0
Return the number of Parameters.
void SetParameters(const double *p)
Set the parameter values.
IParamMultiGradFunction::BaseFunc BaseFunc
unsigned int NDim() const
Retrieve the dimension of the function.
unsigned int NPar() const
Return the number of Parameters.
virtual BaseFunc * Clone() const
clone
Interface (abstract class) for parametric one-dimensional gradient functions providing in addition to...
IParamFunction interface (abstract class) describing multi-dimensional parameteric functions It is a ...
virtual void SetParameters(const double *p)=0
Set the parameter values.
Specialized IParamFunction interface (abstract class) for one-dimensional parametric functions It is ...
const double * Parameters() const
Access the parameter values.
void SetParameters(const double *p)
Set the parameter values.
IParamMultiFunction::BaseFunc BaseFunc
Namespace for new Math classes and functions.
MultiDimParamFunctionAdapter(IParamFunction &f)
Constructor from a parametric one dim function interface from a non-const reference Do not own the fu...
MultiDimParamGradFunctionAdapter(const IParamGradFunction &f)
Constructor from a param one dim function interface from a const reference Copy and manage the own fu...
MultiDimParamGradFunctionAdapter class to wrap a one-dimensional parametric gradient function in a mu...
virtual IBaseFunctionOneDim * Clone() const =0
Clone a function.
MultiDimParamFunctionAdapter(const MultiDimParamFunctionAdapter &rhs)
Copy constructor.
virtual BaseFunc * Clone() const
clone
MultiDimParamFunctionAdapter(const IParamFunction &f)
Constructor from a parametric one dim function interface from a const reference Own the function in t...