18#ifndef ROOT_Minuit2_NumericalDerivator
19#define ROOT_Minuit2_NumericalDerivator
47 NumericalDerivator(
double step_tolerance,
double grad_tolerance,
unsigned int ncycles,
double error_level,
48 bool always_exactly_mimic_minuit2 =
true);
51 std::span<const ROOT::Fit::ParameterSettings> parameters);
53 std::span<const ROOT::Fit::ParameterSettings> parameters,
54 std::span<const DerivatorElement> previous_gradient);
57 std::span<const ROOT::Fit::ParameterSettings> parameters,
60 std::span<const ROOT::Fit::ParameterSettings> parameters,
63 std::span<const ROOT::Fit::ParameterSettings> parameters,
unsigned int i_component,
77 std::span<const ROOT::Fit::ParameterSettings> parameters,
78 std::vector<DerivatorElement> &gradient);
89 std::vector<double>
fVx;
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Class, describing value, limits and step size of the parameters Provides functionality also to set/re...
Sets the relative floating point (double) arithmetic precision.
DerivatorElement operator()(const ROOT::Math::IBaseFunctionMultiDim *function, const double *x, std::span< const ROOT::Fit::ParameterSettings > parameters, unsigned int i_component, const DerivatorElement &previous)
void SetGradTolerance(double value)
std::vector< double > fVxFValCache
bool fAlwaysExactlyMimicMinuit2
void SetAlwaysExactlyMimicMinuit2(bool flag)
double Int2ext(const ROOT::Fit::ParameterSettings ¶meter, double val) const
NumericalDerivator(const NumericalDerivator &other)
void SetErrorLevel(double value)
ROOT::Minuit2::SqrtUpParameterTransformation fUpperLimTrafo
bool AlwaysExactlyMimicMinuit2() const
ROOT::Minuit2::MnMachinePrecision fPrecision
std::vector< DerivatorElement > Differentiate(const ROOT::Math::IBaseFunctionMultiDim *function, const double *x, std::span< const ROOT::Fit::ParameterSettings > parameters, std::span< const DerivatorElement > previous_gradient)
void SetInitialGradient(const ROOT::Math::IBaseFunctionMultiDim *function, std::span< const ROOT::Fit::ParameterSettings > parameters, std::vector< DerivatorElement > &gradient)
This function was not implemented as in Minuit2.
void SetNCycles(unsigned int value)
double DInt2Ext(const ROOT::Fit::ParameterSettings ¶meter, double val) const
double Ext2int(const ROOT::Fit::ParameterSettings ¶meter, double val) const
std::vector< double > fVx
ROOT::Minuit2::SinParameterTransformation fDoubleLimTrafo
DerivatorElement PartialDerivative(const ROOT::Math::IBaseFunctionMultiDim *function, const double *x, std::span< const ROOT::Fit::ParameterSettings > parameters, unsigned int i_component, DerivatorElement previous)
ROOT::Minuit2::SqrtLowParameterTransformation fLowerLimTrafo
void SetStepTolerance(double value)
DerivatorElement FastPartialDerivative(const ROOT::Math::IBaseFunctionMultiDim *function, std::span< const ROOT::Fit::ParameterSettings > parameters, unsigned int i_component, const DerivatorElement &previous)
void SetupDifferentiate(const ROOT::Math::IBaseFunctionMultiDim *function, const double *cx, std::span< const ROOT::Fit::ParameterSettings > parameters)
This function sets internal state based on input parameters.
std::vector< double > fVxExternal
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...