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::span< const double >) const |
return second derivatives (diagonal of the Hessian matrix) | |
virtual std::vector< double > | Gradient (std::span< const double >) const |
virtual std::vector< double > | GradientWithPrevResult (std::span< const double > parameters, double *, double *, double *) const |
virtual GradientParameterSpace | gradParameterSpace () const |
virtual bool | HasG2 () const |
virtual bool | HasHessian () const |
virtual std::vector< double > | Hessian (std::span< const double >) const |
return Hessian | |
double | operator() (std::span< const double > 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.