38 const std::vector<double> &err,
unsigned int stra,
39 unsigned int maxfcn,
double toler)
const
44 return Minimize(fcn, st, strategy, maxfcn, toler);
48 const std::vector<double> &err,
unsigned int stra,
49 unsigned int maxfcn,
double toler)
const
55 return Minimize(fcn, st, strategy, maxfcn, toler);
60 unsigned int nrow,
const std::vector<double> &cov,
unsigned int stra,
61 unsigned int maxfcn,
double toler)
const
68 return Minimize(fcn, st, strategy, maxfcn, toler);
72 unsigned int nrow,
const std::vector<double> &cov,
unsigned int stra,
73 unsigned int maxfcn,
double toler)
const
81 return Minimize(fcn, st, strategy, maxfcn, toler);
85 const MnStrategy &strategy,
unsigned int maxfcn,
double toler)
const
90 return Minimize(fcn, st, strategy, maxfcn, toler);
94 const MnStrategy &strategy,
unsigned int maxfcn,
double toler)
const
99 return Minimize(fcn, st, strategy, maxfcn, toler);
104 unsigned int maxfcn,
double toler)
const
109 return Minimize(fcn, st, strategy, maxfcn, toler);
114 unsigned int maxfcn,
double toler)
const
120 return Minimize(fcn, st, strategy, maxfcn, toler);
124 const MnStrategy &strategy,
unsigned int maxfcn,
double toler)
const
136 maxfcn = 200 + 100 * npar + 5 * npar * npar;
139 return Minimize(mfcn,
gc, mnseeds, strategy, maxfcn, toler);
144 const MnStrategy &strategy,
unsigned int maxfcn,
double toler)
const
152 std::unique_ptr<AnalyticalGradientCalculator>
gc;
158 gc = std::make_unique<AnalyticalGradientCalculator>(fcn, st.
Trafo());
163 maxfcn = 200 + 100 * npar + 5 * npar * npar;
167 auto minimum =
Minimize(mfcn, *
gc, mnseeds, strategy, maxfcn, toler);
174 unsigned int maxfcn,
double toler)
const
179 MnPrint print(
"ModularFunctionMinimizer");
183 double effective_toler = toler * mfcn.
Up();
186 if (effective_toler < eps)
187 effective_toler = eps;
192 print.
Warn(
"Stop before iterating - call limit already exceeded");
198 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
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...
Class containing the covariance matrix data represented as a vector of size n*(n+1)/2 Used to hide in...
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
API class for the user interaction with the parameters; serves as input to the minimizer as well as o...
virtual const MinimumBuilder & Builder() const =0
FunctionMinimum Minimize(const FCNBase &, const std::vector< double > &, const std::vector< double > &, unsigned int stra=1, unsigned int maxfcn=0, double toler=0.1) const override
virtual const MinimumSeedGenerator & SeedGenerator() const =0
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...