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

Similar to the AnalyticalGradientCalculator, the ExternalInternalGradientCalculator supplies Minuit with an externally calculated gradient.

The main difference is that ExternalInternalGradientCalculator expects that the external gradient calculator does things in Minuit2-internal parameter space, which means many int2ext and ext2int transformation steps are not necessary. This avoids loss of precision in some cases, where trigonometrically transforming parameters back and forth can lose a few bits of floating point precision on every pass.

Definition at line 30 of file ExternalInternalGradientCalculator.h.

Public Member Functions

 ExternalInternalGradientCalculator (const FCNGradientBase &fcn, const MnUserTransformation &state)
 
 ~ExternalInternalGradientCalculator ()
 
virtual FunctionGradient operator() (const MinimumParameters &) const
 
virtual FunctionGradient operator() (const MinimumParameters &, const FunctionGradient &) const
 
- Public Member Functions inherited from ROOT::Minuit2::AnalyticalGradientCalculator
 AnalyticalGradientCalculator (const FCNGradientBase &fcn, const MnUserTransformation &state)
 
 ~AnalyticalGradientCalculator ()
 
virtual bool CheckGradient () const
 
- Public Member Functions inherited from ROOT::Minuit2::GradientCalculator
virtual ~GradientCalculator ()
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Minuit2::AnalyticalGradientCalculator
const FCNGradientBasefGradCalc
 
const MnUserTransformationfTransformation
 

#include <Minuit2/ExternalInternalGradientCalculator.h>

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

Constructor & Destructor Documentation

◆ ExternalInternalGradientCalculator()

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

Definition at line 33 of file ExternalInternalGradientCalculator.h.

◆ ~ExternalInternalGradientCalculator()

ROOT::Minuit2::ExternalInternalGradientCalculator::~ExternalInternalGradientCalculator ( )
inline

Definition at line 38 of file ExternalInternalGradientCalculator.h.

Member Function Documentation

◆ operator()() [1/2]

FunctionGradient ROOT::Minuit2::ExternalInternalGradientCalculator::operator() ( const MinimumParameters par) const
virtual

◆ operator()() [2/2]

FunctionGradient ROOT::Minuit2::ExternalInternalGradientCalculator::operator() ( const MinimumParameters par,
const FunctionGradient functionGradient 
) const
virtual
Libraries for ROOT::Minuit2::ExternalInternalGradientCalculator:

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