ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
math
minuit2
inc
Minuit2
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
13
#include "
Minuit2/GradientCalculator.h
"
14
15
namespace
ROOT {
16
17
namespace
Minuit2 {
18
19
20
class
FCNGradientBase;
21
class
MnUserTransformation;
22
23
class
AnalyticalGradientCalculator
:
public
GradientCalculator
{
24
25
public
:
26
27
AnalyticalGradientCalculator
(
const
FCNGradientBase
&
fcn
,
const
MnUserTransformation
& state) :
fGradCalc
(fcn),
fTransformation
(state) {}
28
29
~AnalyticalGradientCalculator
() {}
30
31
32
virtual
FunctionGradient
operator()
(
const
MinimumParameters
&)
const
;
33
34
virtual
FunctionGradient
operator()
(
const
MinimumParameters
&,
35
const
FunctionGradient
&)
const
;
36
37
virtual
bool
CheckGradient
()
const
;
38
39
private
:
40
41
const
FCNGradientBase
&
fGradCalc
;
42
const
MnUserTransformation
&
fTransformation
;
43
};
44
45
}
// namespace Minuit2
46
47
}
// namespace ROOT
48
49
#endif // ROOT_Minuit2_AnalyticalGradientCalculator
fcn
void fcn(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag)
Definition:
Ifit.C:26
ROOT::Minuit2::AnalyticalGradientCalculator::operator()
virtual FunctionGradient operator()(const MinimumParameters &) const
Definition:
AnalyticalGradientCalculator.cxx:21
ROOT::Minuit2::AnalyticalGradientCalculator::CheckGradient
virtual bool CheckGradient() const
Definition:
AnalyticalGradientCalculator.cxx:49
ROOT::Minuit2::AnalyticalGradientCalculator
Definition:
AnalyticalGradientCalculator.h:23
ROOT::Minuit2::AnalyticalGradientCalculator::AnalyticalGradientCalculator
AnalyticalGradientCalculator(const FCNGradientBase &fcn, const MnUserTransformation &state)
Definition:
AnalyticalGradientCalculator.h:27
ROOT::Minuit2::FCNGradientBase
Extension of the FCNBase for providing the analytical Gradient of the function.
Definition:
FCNGradientBase.h:32
ROOT::Minuit2::AnalyticalGradientCalculator::~AnalyticalGradientCalculator
~AnalyticalGradientCalculator()
Definition:
AnalyticalGradientCalculator.h:29
ROOT::Minuit2::AnalyticalGradientCalculator::fTransformation
const MnUserTransformation & fTransformation
Definition:
AnalyticalGradientCalculator.h:42
ROOT::Minuit2::MnUserTransformation
class dealing with the transformation between user specified parameters (external) and internal param...
Definition:
MnUserTransformation.h:52
ROOT::Minuit2::MinimumParameters
Definition:
MinimumParameters.h:21
ROOT::Minuit2::FunctionGradient
Definition:
FunctionGradient.h:21
GradientCalculator.h
ROOT::Minuit2::AnalyticalGradientCalculator::fGradCalc
const FCNGradientBase & fGradCalc
Definition:
AnalyticalGradientCalculator.h:41
ROOT::Minuit2::GradientCalculator
interface class for gradient calculators
Definition:
GradientCalculator.h:25