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

Definition at line 24 of file AnalyticalGradientCalculator.h.

Public Member Functions

 AnalyticalGradientCalculator (const FCNGradientBase &fcn, const MnUserTransformation &state)
 
 ~AnalyticalGradientCalculator () override
 
virtual bool CanComputeG2 () const
 
virtual bool CanComputeHessian () const
 
virtual bool CheckGradient () const
 
bool G2 (const MinimumParameters &, MnAlgebraicVector &) const override
 compute second derivatives (diagonal of Hessian)
 
bool Hessian (const MinimumParameters &, MnAlgebraicSymMatrix &) const override
 compute Hessian matrix
 
FunctionGradient operator() (const MinimumParameters &) const override
 
FunctionGradient operator() (const MinimumParameters &, const FunctionGradient &) const override
 
- Public Member Functions inherited from ROOT::Minuit2::GradientCalculator
virtual ~GradientCalculator ()
 

Protected Attributes

const FCNGradientBasefGradFunc
 
const MnUserTransformationfTransformation
 

#include <Minuit2/AnalyticalGradientCalculator.h>

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

Constructor & Destructor Documentation

◆ AnalyticalGradientCalculator()

ROOT::Minuit2::AnalyticalGradientCalculator::AnalyticalGradientCalculator ( const FCNGradientBase fcn,
const MnUserTransformation state 
)
inline

Definition at line 27 of file AnalyticalGradientCalculator.h.

◆ ~AnalyticalGradientCalculator()

ROOT::Minuit2::AnalyticalGradientCalculator::~AnalyticalGradientCalculator ( )
inlineoverride

Definition at line 32 of file AnalyticalGradientCalculator.h.

Member Function Documentation

◆ CanComputeG2()

bool ROOT::Minuit2::AnalyticalGradientCalculator::CanComputeG2 ( ) const
virtual

Reimplemented in ROOT::Minuit2::FumiliGradientCalculator.

Definition at line 69 of file AnalyticalGradientCalculator.cxx.

◆ CanComputeHessian()

bool ROOT::Minuit2::AnalyticalGradientCalculator::CanComputeHessian ( ) const
virtual

Reimplemented in ROOT::Minuit2::FumiliGradientCalculator.

Definition at line 73 of file AnalyticalGradientCalculator.cxx.

◆ CheckGradient()

bool ROOT::Minuit2::AnalyticalGradientCalculator::CheckGradient ( ) const
virtual

Definition at line 62 of file AnalyticalGradientCalculator.cxx.

◆ G2()

bool ROOT::Minuit2::AnalyticalGradientCalculator::G2 ( const MinimumParameters par,
MnAlgebraicVector g2 
) const
overridevirtual

compute second derivatives (diagonal of Hessian)

Reimplemented from ROOT::Minuit2::GradientCalculator.

Reimplemented in ROOT::Minuit2::FumiliGradientCalculator.

Definition at line 110 of file AnalyticalGradientCalculator.cxx.

◆ Hessian()

bool ROOT::Minuit2::AnalyticalGradientCalculator::Hessian ( const MinimumParameters par,
MnAlgebraicSymMatrix hmat 
) const
overridevirtual

compute Hessian matrix

Reimplemented from ROOT::Minuit2::GradientCalculator.

Reimplemented in ROOT::Minuit2::FumiliGradientCalculator.

Definition at line 78 of file AnalyticalGradientCalculator.cxx.

◆ operator()() [1/2]

FunctionGradient ROOT::Minuit2::AnalyticalGradientCalculator::operator() ( const MinimumParameters par) const
overridevirtual

◆ operator()() [2/2]

FunctionGradient ROOT::Minuit2::AnalyticalGradientCalculator::operator() ( const MinimumParameters par,
const FunctionGradient  
) const
overridevirtual

Member Data Documentation

◆ fGradFunc

const FCNGradientBase& ROOT::Minuit2::AnalyticalGradientCalculator::fGradFunc
protected

Definition at line 51 of file AnalyticalGradientCalculator.h.

◆ fTransformation

const MnUserTransformation& ROOT::Minuit2::AnalyticalGradientCalculator::fTransformation
protected

Definition at line 52 of file AnalyticalGradientCalculator.h.

Libraries for ROOT::Minuit2::AnalyticalGradientCalculator:

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