13 #ifndef ROOT_Math_MultiDimParamFunctionAdapter
14 #define ROOT_Math_MultiDimParamFunctionAdapter
16 #ifndef ROOT_Math_IFunction
19 #ifndef ROOT_Math_IParamFunction
23 #ifndef ROOT_Math_WrappedFunction
128 unsigned int NDim()
const {
return 1; }
242 unsigned int NDim()
const {
return 1; }
virtual void ParameterGradient(double x, const double *p, double *grad) const
Evaluate the derivatives of the function with respect to the parameters at a point x...
virtual const double * Parameters() const =0
Access the parameter values.
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...
virtual ~MultiDimParamFunctionAdapter()
Destructor (no operations)
MultiDimParamFunctionAdapter & operator=(const MultiDimParamFunctionAdapter &rhs)
Assignment operator.
ClassImp(TIterator) Bool_t TIterator return false
Compare two iterator objects.
MultiDimParamFunctionAdapter class to wrap a one-dimensional parametric function in a multi dimension...
unsigned int NPar() const
Return the number of Parameters.
virtual BaseFunc * Clone() const
clone
virtual ~MultiDimParamGradFunctionAdapter()
Destructor (no operations)
MultiDimParamGradFunctionAdapter & operator=(const MultiDimParamGradFunctionAdapter &rhs)
Assignment operator.
MultiDimParamGradFunctionAdapter(const MultiDimParamGradFunctionAdapter &rhs)
Copy constructor.
double ParameterDerivative(double x, const double *p, unsigned int ipar=0) const
Partial derivative with respect a parameter.
virtual unsigned int NPar() const =0
Return the number of Parameters.
unsigned int NDim() const
Retrieve the dimension of the function.
void SetParameters(const double *p)
Set the parameter values.
void ParameterGradient(const double *x, const double *p, double *grad) const
Evaluate the all the derivatives (gradient vector) of the function with respect to the parameters at ...
IParamFunction interface (abstract class) describing multi-dimensional parameteric functions It is a ...
IParamMultiGradFunction::BaseFunc BaseFunc
unsigned int NDim() const
Retrieve the dimension of the function.
Interface (abstract class) for parametric one-dimensional gradient functions providing in addition to...
double DoEvalPar(const double *x, const double *p) const
functions needed by interface
virtual void SetParameters(const double *p)=0
Set the parameter values.
Specialized IParamFunction interface (abstract class) for one-dimensional parametric functions It is ...
double DoEvalPar(const double *x, const double *p) const
needed by the interface
Interface (abstract class) for parametric gradient multi-dimensional functions providing in addition ...
void SetParameters(const double *p)
Set the parameter values.
IParamMultiFunction::BaseFunc BaseFunc
Namespace for new Math classes and functions.
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...
MultiDimParamFunctionAdapter(IParamFunction &f)
Constructor from a parametric one dim function interface from a non-const reference Do not own the fu...
unsigned int NPar() const
Return the number of Parameters.
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 BaseFunc * Clone() const
clone
const double * Parameters() const
Access the parameter values.
virtual IBaseFunctionOneDim * Clone() const =0
Clone a function.
MultiDimParamFunctionAdapter(const MultiDimParamFunctionAdapter &rhs)
Copy constructor.
MultiDimParamFunctionAdapter(const IParamFunction &f)
Constructor from a parametric one dim function interface from a const reference Own the function in t...
Documentation for the abstract class IBaseFunctionMultiDim.
const double * Parameters() const
Access the parameter values.