Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
17namespace Minuit2 {
18
19class MnFcn;
20class MnUserTransformation;
21class MnMachinePrecision;
22class MnStrategy;
23
24/**
25 Class to calculate an initial estimate of the gradient
26 */
28
29public:
31 : fFcn(fcn), fTransformation(par), fStrategy(stra){};
32
34
35 virtual FunctionGradient operator()(const MinimumParameters &) const;
36
37 virtual FunctionGradient operator()(const MinimumParameters &, const FunctionGradient &) const;
38
39 const MnFcn &Fcn() const { return fFcn; }
40 const MnUserTransformation &Trafo() const { return fTransformation; }
41 const MnMachinePrecision &Precision() const;
42 const MnStrategy &Strategy() const { return fStrategy; }
43
44 unsigned int Ncycle() const;
45 double StepTolerance() const;
46 double GradTolerance() const;
47
48private:
49 const MnFcn &fFcn;
52};
53
54} // namespace Minuit2
55
56} // namespace ROOT
57
58#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 MnUserTransformation & Trafo() const
virtual FunctionGradient operator()(const MinimumParameters &) const
Wrapper class to FCNBase interface used internally by Minuit.
Definition MnFcn.h:30
Sets the relative floating point (double) 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...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...