Logo ROOT  
Reference Guide
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 FunctionGradient operator()(const MinimumParameters &) const override;
33
34 FunctionGradient operator()(const MinimumParameters &, const FunctionGradient &) const override;
35
36 virtual bool CheckGradient() const;
37
38protected:
41};
42
43} // namespace Minuit2
44
45} // namespace ROOT
46
47#endif // ROOT_Minuit2_AnalyticalGradientCalculator
AnalyticalGradientCalculator(const FCNGradientBase &fcn, const MnUserTransformation &state)
FunctionGradient operator()(const MinimumParameters &) const override
interface class for gradient calculators
class dealing with the transformation between user specified parameters (external) and internal param...
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.