29#if defined(DEBUG) || defined(WARNINGMSG)
45 return Minimize(fcn, st, strategy, maxfcn, toler);
53 return Minimize(fcn, st, strategy, maxfcn, toler);
63 return Minimize(fcn, st, strategy, maxfcn, toler);
73 return Minimize(fcn, st, strategy, maxfcn, toler);
80 return Minimize(fcn, st, strategy, maxfcn, toler);
87 return Minimize(fcn, st, strategy, maxfcn, toler);
94 return Minimize(fcn, st, strategy, maxfcn, toler);
102 return Minimize(fcn, st, strategy, maxfcn, toler);
117 if(maxfcn == 0) maxfcn = 200 + 100*npar + 5*npar*npar;
120 return Minimize(mfcn, gc, mnseeds, strategy, maxfcn, toler);
135 if(maxfcn == 0) maxfcn = 200 + 100*npar + 5*npar*npar;
139 return Minimize(mfcn, gc, mnseeds, strategy, maxfcn, toler);
149 double effective_toler = toler * mfcn.
Up();
152 if (effective_toler < eps) effective_toler = eps;
158 MN_INFO_MSG(
"ModularFunctionMinimizer: Stop before iterating - call limit already exceeded");
166 return mb.
Minimum(mfcn, gc, seed, strategy, maxfcn, effective_toler);
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Extension of the FCNBase for providing the analytical Gradient of the function.
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
MinimumSeed contains the starting values for the minimization produced by the SeedGenerator.
const MinimumState & State() const
Wrapper class to FCNBase interface used internally by Minuit.
unsigned int NumOfCalls() const
determines the relative floating point arithmetic precision.
double Eps2() const
eps2 returns 2*sqrt(eps)
API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (...
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
virtual 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
virtual const MinimumSeedGenerator & SeedGenerator() const =0
class performing the numerical gradient calculation