ROOT  6.06/09
Reference Guide
Public Member Functions | List of all members
ROOT::Minuit2::FCNGradientBase Class Referenceabstract

Extension of the FCNBase for providing the analytical Gradient of the function.

The user-Gradient is checked at the beginning of the minimization against the Minuit internal numerical Gradient in order to spot problems in the analytical Gradient calculation. This can be turned off by overriding CheckGradient() to make it return "false". The size of the output Gradient vector must be equal to the size of the input Parameter vector. Minuit does a check of the user Gradient at the beginning, if this is not wanted the method "CheckGradient()" has to be overridden to return "false".

Definition at line 32 of file FCNGradientBase.h.

Public Member Functions

virtual ~FCNGradientBase ()
 
virtual std::vector< doubleGradient (const std::vector< double > &) const =0
 
virtual bool CheckGradient () const
 
- Public Member Functions inherited from ROOT::Minuit2::FCNBase
virtual ~FCNBase ()
 
virtual double operator() (const std::vector< double > &x) const =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. More...
 
virtual double ErrorDef () const
 Error definition of the function. More...
 
virtual double Up () const =0
 Error definition of the function. More...
 
virtual void SetErrorDef (double)
 add interface to set dynamically a new error definition Re-implement this function if needed. More...
 
- Public Member Functions inherited from ROOT::Minuit2::GenericFunction
virtual ~GenericFunction ()
 

#include <Minuit2/FCNGradientBase.h>

+ Inheritance diagram for ROOT::Minuit2::FCNGradientBase:
+ Collaboration diagram for ROOT::Minuit2::FCNGradientBase:

Constructor & Destructor Documentation

virtual ROOT::Minuit2::FCNGradientBase::~FCNGradientBase ( )
inlinevirtual

Definition at line 36 of file FCNGradientBase.h.

Member Function Documentation

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

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