Logo ROOT  
Reference Guide
InitialGradientCalculator.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_InitialGradientCalculator
11#define ROOT_Minuit2_InitialGradientCalculator
12
14
15namespace ROOT {
16
17 namespace Minuit2 {
18
19
20class MnFcn;
21class MnUserTransformation;
22class MnMachinePrecision;
23class MnStrategy;
24
25/**
26 Class to calculate an initial estimate of the gradient
27 */
29
30public:
31
33 const MnStrategy& stra) :
34 fFcn(fcn), fTransformation(par), fStrategy(stra) {};
35
37
38 virtual FunctionGradient operator()(const MinimumParameters&) const;
39
41 const FunctionGradient&) const;
42
43 const MnFcn& Fcn() const {return fFcn;}
45 const MnMachinePrecision& Precision() const;
46 const MnStrategy& Strategy() const {return fStrategy;}
47
48 unsigned int Ncycle() const;
49 double StepTolerance() const;
50 double GradTolerance() const;
51
52private:
53
54 const MnFcn& fFcn;
57};
58
59 } // namespace Minuit2
60
61} // namespace ROOT
62
63#endif // ROOT_Minuit2_InitialGradientCalculator
interface class for gradient calculators
Class to calculate an initial estimate of the gradient.
InitialGradientCalculator(const MnFcn &fcn, const MnUserTransformation &par, const MnStrategy &stra)
const MnMachinePrecision & Precision() const
const MnUserTransformation & Trafo() const
virtual FunctionGradient operator()(const MinimumParameters &) const
Wrapper class to FCNBase interface used internally by Minuit.
Definition: MnFcn.h:33
determines the relative floating point arithmetic precision.
API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (...
Definition: MnStrategy.h:27
class dealing with the transformation between user specified parameters (external) and internal param...
VSD Structures.
Definition: StringConv.hxx:21