31 unsigned int n =
trafo.VariableParameters();
34 MnPrint print(
"InitialGradientCalculator");
36 print.
Debug(
"Calculating initial gradient at point", par.
Vec());
40 for (
unsigned int i = 0; i <
n; i++) {
43 double var = par.
Vec()(i);
60 double gsmin = 8. *
trafo.Precision().Eps2() * (std::fabs(var) +
trafo.Precision().Eps2());
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
const MnAlgebraicVector & Vec() const
void Debug(const Ts &... args)
void Trace(const Ts &... args)
FunctionGradient calculateInitialGradient(const MinimumParameters &, const MnUserTransformation &, double errorDef)
Initial rough estimate of the gradient using the parameter step size.
Namespace for new ROOT classes and functions.