Logo ROOT   6.16/01
Reference Guide
NegativeG2LineSearch.h
Go to the documentation of this file.
1// @(#)root/minuit2:$Id$
2// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7 * *
8 **********************************************************************/
9
10#ifndef ROOT_Minuit2_NegativeG2LineSearch
11#define ROOT_Minuit2_NegativeG2LineSearch
12
13namespace ROOT {
14
15 namespace Minuit2 {
16
17
18class MnFcn;
19class MinimumState;
20class GradientCalculator;
21class MnMachinePrecision;
22class FunctionGradient;
23
24/** In case that one of the components of the second derivative g2 calculated
25 by the numerical Gradient calculator is negative, a 1dim line search in
26 the direction of that component is done in order to find a better position
27 where g2 is again positive.
28 */
29
31
32public:
33
35
37
39
40 bool HasNegativeG2(const FunctionGradient&, const MnMachinePrecision&) const;
41
42private:
43
44};
45
46 } // namespace Minuit2
47
48} // namespace ROOT
49
50#endif // ROOT_Minuit2_NegativeG2LineSearch
interface class for gradient calculators
MinimumState keeps the information (position, Gradient, 2nd deriv, etc) after one minimization step (...
Definition: MinimumState.h:29
Wrapper class to FCNBase interface used internally by Minuit.
Definition: MnFcn.h:33
determines the relative floating point arithmetic precision.
In case that one of the components of the second derivative g2 calculated by the numerical Gradient c...
bool HasNegativeG2(const FunctionGradient &, const MnMachinePrecision &) const
MinimumState operator()(const MnFcn &, const MinimumState &, const GradientCalculator &, const MnMachinePrecision &) const
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21