Definition at line 40 of file NumericalDerivator.h.
|
| | NumericalDerivator (bool always_exactly_mimic_minuit2=true) |
| |
| | NumericalDerivator (const NumericalDerivator &other) |
| |
| | NumericalDerivator (double step_tolerance, double grad_tolerance, unsigned int ncycles, double error_level, bool always_exactly_mimic_minuit2=true) |
| |
| bool | AlwaysExactlyMimicMinuit2 () const |
| |
| std::vector< DerivatorElement > | Differentiate (unsigned int nDim, const FCNBase *function, const double *x, std::span< const ROOT::Fit::ParameterSettings > parameters, std::span< const DerivatorElement > previous_gradient) |
| |
| double | DInt2Ext (const ROOT::Fit::ParameterSettings ¶meter, double val) const |
| |
| double | Ext2int (const ROOT::Fit::ParameterSettings ¶meter, double val) const |
| |
| DerivatorElement | FastPartialDerivative (const FCNBase *function, std::span< const ROOT::Fit::ParameterSettings > parameters, unsigned int i_component, const DerivatorElement &previous) |
| |
| double | GetValue () const |
| |
| double | Int2ext (const ROOT::Fit::ParameterSettings ¶meter, double val) const |
| |
| DerivatorElement | operator() (unsigned int nDim, const FCNBase *function, const double *x, std::span< const ROOT::Fit::ParameterSettings > parameters, unsigned int i_component, const DerivatorElement &previous) |
| |
| DerivatorElement | PartialDerivative (unsigned int nDim, const FCNBase *function, const double *x, std::span< const ROOT::Fit::ParameterSettings > parameters, unsigned int i_component, DerivatorElement previous) |
| |
| void | PreseedFVal (double fval, std::span< const double > cx) |
| | Pre-seed the cache of the function value at the central point, so that a subsequent SetupDifferentiate() at the same point cx (in Minuit-internal coordinates) can skip its function evaluation.
|
| |
| void | SetAlwaysExactlyMimicMinuit2 (bool flag) |
| |
| void | SetErrorLevel (double value) |
| |
| void | SetGradTolerance (double value) |
| |
| void | SetInitialGradient (std::span< const ROOT::Fit::ParameterSettings > parameters, std::vector< DerivatorElement > &gradient) |
| | This function was not implemented as in Minuit2.
|
| |
| void | SetNCycles (unsigned int value) |
| |
| void | SetStepTolerance (double value) |
| |
| void | SetupDifferentiate (unsigned int nDim, const FCNBase *function, const double *cx, std::span< const ROOT::Fit::ParameterSettings > parameters) |
| | This function sets internal state based on input parameters.
|
| |
#include <Minuit2/NumericalDerivator.h>
◆ NumericalDerivator() [1/3]
| NumericalDerivator::NumericalDerivator |
( |
bool | always_exactly_mimic_minuit2 = true | ) |
|
|
explicit |
◆ NumericalDerivator() [2/3]
◆ NumericalDerivator() [3/3]
| NumericalDerivator::NumericalDerivator |
( |
double | step_tolerance, |
|
|
double | grad_tolerance, |
|
|
unsigned int | ncycles, |
|
|
double | error_level, |
|
|
bool | always_exactly_mimic_minuit2 = true ) |
◆ AlwaysExactlyMimicMinuit2()
| bool ROOT::Minuit2::NumericalDerivator::AlwaysExactlyMimicMinuit2 |
( |
| ) |
const |
|
inline |
◆ Differentiate()
◆ DInt2Ext()
◆ Ext2int()
◆ FastPartialDerivative()
◆ GetValue()
| double ROOT::Minuit2::NumericalDerivator::GetValue |
( |
| ) |
const |
|
inline |
◆ Int2ext()
◆ operator()()
◆ PartialDerivative()
◆ PreseedFVal()
| void ROOT::Minuit2::NumericalDerivator::PreseedFVal |
( |
double | fval, |
|
|
std::span< const double > | cx ) |
|
inline |
Pre-seed the cache of the function value at the central point, so that a subsequent SetupDifferentiate() at the same point cx (in Minuit-internal coordinates) can skip its function evaluation.
Callers that already know the function value at the gradient point (e.g. from the line search that Minuit just completed) can use this to avoid one full function call.
Definition at line 55 of file NumericalDerivator.h.
◆ SetAlwaysExactlyMimicMinuit2()
| void ROOT::Minuit2::NumericalDerivator::SetAlwaysExactlyMimicMinuit2 |
( |
bool | flag | ) |
|
|
inline |
◆ SetErrorLevel()
| void ROOT::Minuit2::NumericalDerivator::SetErrorLevel |
( |
double | value | ) |
|
|
inline |
◆ SetGradTolerance()
| void ROOT::Minuit2::NumericalDerivator::SetGradTolerance |
( |
double | value | ) |
|
|
inline |
◆ SetInitialGradient()
◆ SetNCycles()
| void ROOT::Minuit2::NumericalDerivator::SetNCycles |
( |
unsigned int | value | ) |
|
|
inline |
◆ SetStepTolerance()
| void ROOT::Minuit2::NumericalDerivator::SetStepTolerance |
( |
double | value | ) |
|
|
inline |
◆ SetupDifferentiate()
This function sets internal state based on input parameters.
This state setup is used in the actual (partial) derivative calculations.
Definition at line 58 of file NumericalDerivator.cxx.
◆ fAlwaysExactlyMimicMinuit2
| bool ROOT::Minuit2::NumericalDerivator::fAlwaysExactlyMimicMinuit2 |
|
private |
◆ fDfmin
| double ROOT::Minuit2::NumericalDerivator::fDfmin |
|
private |
◆ fDoubleLimTrafo
◆ fGradTolerance
| double ROOT::Minuit2::NumericalDerivator::fGradTolerance = 0.1 |
|
private |
◆ fLowerLimTrafo
◆ fNCycles
| unsigned int ROOT::Minuit2::NumericalDerivator::fNCycles = 2 |
|
private |
◆ fPrecision
◆ fStepTolerance
| double ROOT::Minuit2::NumericalDerivator::fStepTolerance = 0.5 |
|
private |
◆ fUp
| double ROOT::Minuit2::NumericalDerivator::fUp = 1 |
|
private |
◆ fUpperLimTrafo
◆ fVal
| double ROOT::Minuit2::NumericalDerivator::fVal = 0 |
|
private |
◆ fVrysml
| double ROOT::Minuit2::NumericalDerivator::fVrysml |
|
private |
◆ fVx
| std::vector<double> ROOT::Minuit2::NumericalDerivator::fVx |
|
private |
◆ fVxExternal
| std::vector<double> ROOT::Minuit2::NumericalDerivator::fVxExternal |
|
private |
◆ fVxFValCache
| std::vector<double> ROOT::Minuit2::NumericalDerivator::fVxFValCache |
|
private |
The documentation for this class was generated from the following files: