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 FCNGradientBase & | fGradCalc |
const MnUserTransformation & | fTransformation |
#include <Minuit2/ExternalInternalGradientCalculator.h>
|
inline |
Definition at line 33 of file ExternalInternalGradientCalculator.h.
|
inline |
Definition at line 38 of file ExternalInternalGradientCalculator.h.
|
virtual |
Reimplemented from ROOT::Minuit2::AnalyticalGradientCalculator.
Definition at line 21 of file ExternalInternalGradientCalculator.cxx.
|
virtual |
Reimplemented from ROOT::Minuit2::AnalyticalGradientCalculator.
Definition at line 45 of file ExternalInternalGradientCalculator.cxx.