Extension of the FCNBase for providing the analytical Gradient of the function.
The size of the output Gradient vector must be equal to the size of the input Parameter vector.
Definition at line 26 of file FCNGradientBase.h.
Public Member Functions | |
bool | HasGradient () const final |
Public Member Functions inherited from ROOT::Minuit2::FCNBase | |
virtual double | ErrorDef () const |
Error definition of the function. | |
virtual std::vector< double > | G2 (std::vector< double > const &) const |
return second derivatives (diagonal of the Hessian matrix) | |
virtual std::vector< double > | Gradient (std::vector< double > const &) const |
virtual std::vector< double > | GradientWithPrevResult (std::vector< double > const ¶meters, double *, double *, double *) const |
virtual GradientParameterSpace | gradParameterSpace () const |
virtual bool | HasG2 () const |
virtual bool | HasHessian () const |
virtual std::vector< double > | Hessian (std::vector< double > const &) const |
return Hessian | |
double | operator() (std::vector< double > const &v) const override=0 |
The meaning of the vector of parameters is of course defined by the user, who uses the values of those parameters to calculate their function Value. | |
virtual void | SetErrorDef (double) |
add interface to set dynamically a new error definition Re-implement this function if needed. | |
virtual double | Up () const =0 |
Error definition of the function. | |
Public Member Functions inherited from ROOT::Minuit2::GenericFunction | |
virtual | ~GenericFunction () |
#include <Minuit2/FCNGradientBase.h>
|
inlinefinalvirtual |
Reimplemented from ROOT::Minuit2::FCNBase.
Definition at line 28 of file FCNGradientBase.h.