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 FCNBase &fcn, const MnUserTransformation &state)
 
 ~AnalyticalGradientCalculator () override
 
virtual bool CanComputeG2 () const
 
virtual bool CanComputeHessian () 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 FCNBasefGradFunc
 
const MnUserTransformationfTransformation
 

#include <Minuit2/AnalyticalGradientCalculator.h>

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

Constructor & Destructor Documentation

◆ AnalyticalGradientCalculator()

ROOT::Minuit2::AnalyticalGradientCalculator::AnalyticalGradientCalculator ( const FCNBase 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 63 of file AnalyticalGradientCalculator.cxx.

◆ CanComputeHessian()

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

Reimplemented in ROOT::Minuit2::FumiliGradientCalculator.

Definition at line 67 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 104 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 72 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 FCNBase& ROOT::Minuit2::AnalyticalGradientCalculator::fGradFunc
protected

Definition at line 49 of file AnalyticalGradientCalculator.h.

◆ fTransformation

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

Definition at line 50 of file AnalyticalGradientCalculator.h.

Libraries for ROOT::Minuit2::AnalyticalGradientCalculator:

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