ROOT  6.06/09
Reference Guide
GradientCalculator.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_GradientCalculator
11 #define ROOT_Minuit2_GradientCalculator
12 
13 namespace ROOT {
14 
15  namespace Minuit2 {
16 
17 
18 class MinimumParameters;
19 class FunctionGradient;
20 
21 
22 /**
23  interface class for gradient calculators
24  */
26 
27 public:
28 
29  virtual ~GradientCalculator() {}
30 
31  virtual FunctionGradient operator()(const MinimumParameters&) const = 0;
32 
34  const FunctionGradient&) const = 0;
35 };
36 
37  } // namespace Minuit2
38 
39 } // namespace ROOT
40 
41 #endif // ROOT_Minuit2_GradientCalculator
Namespace for new ROOT classes and functions.
Definition: ROOT.py:1
virtual FunctionGradient operator()(const MinimumParameters &) const =0
interface class for gradient calculators