35 const MnStrategy &strategy,
unsigned int maxfcn,
double toler)
const
48 maxfcn = 200 + 100 * npar + 5 * npar * npar;
51 return Minimize(mfcn,
gc, mnseeds, strategy, maxfcn, toler);
59 std::unique_ptr<AnalyticalGradientCalculator>
gc;
65 gc = std::make_unique<AnalyticalGradientCalculator>(fcn, st.
Trafo());
70 maxfcn = 200 + 100 * npar + 5 * npar * npar;
74 return Minimize(mfcn, *
gc, mnseeds, strategy, maxfcn, toler);
79 unsigned int maxfcn,
double toler)
const
84 MnPrint print(
"ModularFunctionMinimizer");
88 double effective_toler = toler * mfcn.
Up();
91 if (effective_toler < eps)
92 effective_toler = eps;
97 print.
Warn(
"Stop before iterating - call limit already exceeded");
103 return mb.
Minimum(mfcn,
gc, seed, strategy, maxfcn, effective_toler);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
Similar to the AnalyticalGradientCalculator, the ExternalInternalGradientCalculator supplies Minuit w...
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
virtual GradientParameterSpace gradParameterSpace() const
virtual bool HasGradient() const
class holding the full result of the minimization; both internal and external (MnUserParameterState) ...
interface class for gradient calculators
virtual FunctionMinimum Minimum(const MnFcn &, const GradientCalculator &, const MinimumSeed &, const MnStrategy &, unsigned int, double) const =0
const MinimumState & State() const
Wrapper class to FCNBase interface used internally by Minuit.
unsigned int NumOfCalls() const
Sets the relative floating point (double) arithmetic precision.
double Eps2() const
eps2 returns 2*sqrt(eps)
void Warn(const Ts &... args)
API class for defining four levels of strategies: low (0), medium (1), high (2), very high (>=3); act...
Wrapper used by Minuit of FCN interface containing a reference to the transformation object.
class which holds the external user and/or internal Minuit representation of the parameters and error...
unsigned int VariableParameters() const
const MnUserTransformation & Trafo() const
virtual const MinimumBuilder & Builder() const =0
virtual const MinimumSeedGenerator & SeedGenerator() const =0
virtual FunctionMinimum Minimize(const FCNBase &, const MnUserParameterState &, const MnStrategy &=MnStrategy{1}, unsigned int maxfcn=0, double toler=0.1) const
class performing the numerical gradient calculation
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...