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;
22
23/**
24 Class to calculate an initial estimate of the gradient
25 */
27
28public:
30
31 FunctionGradient operator()(const MinimumParameters &) const override;
32
33 FunctionGradient operator()(const MinimumParameters &, const FunctionGradient &) const override;
34
35 const MnFcn &Fcn() const { return fFcn; }
36 const MnUserTransformation &Trafo() const { return fTransformation; }
37 const MnMachinePrecision &Precision() const;
38
39private:
40 const MnFcn &fFcn;
42};
43
44} // namespace Minuit2
45
46} // namespace ROOT
47
48#endif // ROOT_Minuit2_InitialGradientCalculator
interface class for gradient calculators
Class to calculate an initial estimate of the gradient.
const MnUserTransformation & Trafo() const
FunctionGradient operator()(const MinimumParameters &) const override
InitialGradientCalculator(const MnFcn &fcn, const MnUserTransformation &par)
Wrapper class to FCNBase interface used internally by Minuit.
Definition MnFcn.h:30
Sets the relative floating point (double) arithmetic precision.
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...