ROOT logo
ROOT » MATH » MINUIT2 » ROOT::Minuit2::FCNGradientBase

class ROOT::Minuit2::FCNGradientBase: public ROOT::Minuit2::FCNBase

 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".

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~FCNGradientBase()
virtual boolCheckGradient() const
virtual doubleROOT::Minuit2::FCNBase::ErrorDef() const
virtual vector<double>Gradient(const vector<double>&) const
virtual doubleROOT::Minuit2::FCNBase::operator()(const vector<double>& x) const
virtual doubleROOT::Minuit2::GenericFunction::operator()(const vector<double>& x) const
ROOT::Minuit2::FCNGradientBase&operator=(const ROOT::Minuit2::FCNGradientBase&)
ROOT::Minuit2::FCNBase&ROOT::Minuit2::FCNBase::operator=(const ROOT::Minuit2::FCNBase&)
ROOT::Minuit2::GenericFunction&ROOT::Minuit2::GenericFunction::operator=(const ROOT::Minuit2::GenericFunction&)
virtual voidROOT::Minuit2::FCNBase::SetErrorDef(double)
virtual doubleROOT::Minuit2::FCNBase::Up() const

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

virtual ~FCNGradientBase()
{}
std::vector<double> Gradient(const vector<double>& ) const
bool CheckGradient() const
{return true;}