Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::FCNGradientBase Class Reference

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

Inheritance diagram for ROOT::Minuit2::FCNGradientBase:
[legend]

Member Function Documentation

◆ HasGradient()

bool ROOT::Minuit2::FCNGradientBase::HasGradient ( ) const
inlinefinalvirtual

Reimplemented from ROOT::Minuit2::FCNBase.

Definition at line 28 of file FCNGradientBase.h.

Libraries for ROOT::Minuit2::FCNGradientBase:

The documentation for this class was generated from the following file: