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

Definition at line 38 of file FCNGradientBase.h.

Public Member Functions

 ~FCNGradientBase () override
 
virtual bool CheckGradient () const
 
virtual std::vector< doubleG2 (const std::vector< double > &) const
 return second derivatives (diagonal of the Hessian matrix)
 
virtual std::vector< doubleGradient (const std::vector< double > &) const =0
 
virtual std::vector< doubleGradientWithPrevResult (const std::vector< double > &parameters, double *, double *, double *) const
 
virtual GradientParameterSpace gradParameterSpace () const
 
virtual bool HasG2 () const
 
virtual bool HasHessian () const
 
virtual std::vector< doubleHessian (const std::vector< double > &) const
 return Hessian
 
- Public Member Functions inherited from ROOT::Minuit2::FCNBase
 ~FCNBase () override
 
virtual double ErrorDef () const
 Error definition of the function.
 
double operator() (const std::vector< 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]

Constructor & Destructor Documentation

◆ ~FCNGradientBase()

ROOT::Minuit2::FCNGradientBase::~FCNGradientBase ( )
inlineoverride

Definition at line 41 of file FCNGradientBase.h.

Member Function Documentation

◆ CheckGradient()

virtual bool ROOT::Minuit2::FCNGradientBase::CheckGradient ( ) const
inlinevirtual

Reimplemented in ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 50 of file FCNGradientBase.h.

◆ G2()

virtual std::vector< double > ROOT::Minuit2::FCNGradientBase::G2 ( const std::vector< double > &  ) const
inlinevirtual

return second derivatives (diagonal of the Hessian matrix)

Reimplemented in ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 57 of file FCNGradientBase.h.

◆ Gradient()

virtual std::vector< double > ROOT::Minuit2::FCNGradientBase::Gradient ( const std::vector< double > &  ) const
pure virtual

◆ GradientWithPrevResult()

virtual std::vector< double > ROOT::Minuit2::FCNGradientBase::GradientWithPrevResult ( const std::vector< double > &  parameters,
double ,
double ,
double  
) const
inlinevirtual

Reimplemented in ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 44 of file FCNGradientBase.h.

◆ gradParameterSpace()

virtual GradientParameterSpace ROOT::Minuit2::FCNGradientBase::gradParameterSpace ( ) const
inlinevirtual

Reimplemented in ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 52 of file FCNGradientBase.h.

◆ HasG2()

virtual bool ROOT::Minuit2::FCNGradientBase::HasG2 ( ) const
inlinevirtual

Reimplemented in ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 64 of file FCNGradientBase.h.

◆ HasHessian()

virtual bool ROOT::Minuit2::FCNGradientBase::HasHessian ( ) const
inlinevirtual

Reimplemented in ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 62 of file FCNGradientBase.h.

◆ Hessian()

virtual std::vector< double > ROOT::Minuit2::FCNGradientBase::Hessian ( const std::vector< double > &  ) const
inlinevirtual

return Hessian

Reimplemented in ROOT::Minuit2::FumiliFCNBase, and ROOT::Minuit2::FCNGradAdapter< Function >.

Definition at line 60 of file FCNGradientBase.h.

Libraries for ROOT::Minuit2::FCNGradientBase:

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