In case that one of the components of the second derivative g2 calculated by the numerical Gradient calculator is negative, a 1dim line search in the direction of that component is done in order to find a better position where g2 is again positive.
Definition at line 29 of file NegativeG2LineSearch.h.
Public Member Functions | |
NegativeG2LineSearch () | |
~NegativeG2LineSearch () | |
bool | HasNegativeG2 (const FunctionGradient &, const MnMachinePrecision &) const |
MinimumState | operator() (const MnFcn &, const MinimumState &, const GradientCalculator &, const MnMachinePrecision &) const |
#include <Minuit2/NegativeG2LineSearch.h>
|
inline |
Definition at line 32 of file NegativeG2LineSearch.h.
|
inline |
Definition at line 34 of file NegativeG2LineSearch.h.
bool ROOT::Minuit2::NegativeG2LineSearch::HasNegativeG2 | ( | const FunctionGradient & | grad, |
const MnMachinePrecision & | |||
) | const |
Definition at line 138 of file NegativeG2LineSearch.cxx.
MinimumState ROOT::Minuit2::NegativeG2LineSearch::operator() | ( | const MnFcn & | fcn, |
const MinimumState & | st, | ||
const GradientCalculator & | gc, | ||
const MnMachinePrecision & | prec | ||
) | const |
Definition at line 26 of file NegativeG2LineSearch.cxx.