Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
AnalyticalGradientCalculator.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_AnalyticalGradientCalculator
11#define ROOT_Minuit2_AnalyticalGradientCalculator
12
14
15namespace ROOT {
16
17namespace Minuit2 {
18
19class FCNGradientBase;
20class MnUserTransformation;
21
23
24public:
26 : fGradCalc(fcn), fTransformation(state)
27 {
28 }
29
31
32 virtual FunctionGradient operator()(const MinimumParameters &) const;
33
34 virtual FunctionGradient operator()(const MinimumParameters &, const FunctionGradient &) const;
35
36 virtual bool CheckGradient() const;
37
38private:
41};
42
43} // namespace Minuit2
44
45} // namespace ROOT
46
47#endif // ROOT_Minuit2_AnalyticalGradientCalculator
AnalyticalGradientCalculator(const FCNGradientBase &fcn, const MnUserTransformation &state)
virtual FunctionGradient operator()(const MinimumParameters &) const
Extension of the FCNBase for providing the analytical Gradient of the function.
interface class for gradient calculators
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...