ROOT
6.18/05
Reference Guide
math
minuit2
inc
Minuit2
MnLineSearch.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_MnLineSearch
11
#define ROOT_Minuit2_MnLineSearch
12
13
#include "
Minuit2/MnMatrix.h
"
14
15
namespace
ROOT
{
16
17
namespace
Minuit2 {
18
19
20
class
MnFcn;
21
class
MinimumParameters;
22
class
MnMachinePrecision;
23
class
MnParabolaPoint;
24
25
26
27
28
/**
29
30
Implements a 1-dimensional minimization along a given direction
31
(i.e. quadratic interpolation) It is independent of the algorithm
32
that generates the direction vector. It brackets the 1-dimensional
33
Minimum and iterates to approach the real Minimum of the n-dimensional
34
function.
35
36
37
@author Fred James and Matthias Winkler; comments added by Andras Zsenei
38
and Lorenzo Moneta
39
40
@ingroup Minuit
41
42
*/
43
44
45
46
47
class
MnLineSearch
{
48
49
public
:
50
51
MnLineSearch
() {}
52
53
~MnLineSearch
() {}
54
55
MnParabolaPoint
operator()
(
const
MnFcn
&,
const
MinimumParameters
&,
const
MnAlgebraicVector
&,
double
,
const
MnMachinePrecision
&,
bool
debug =
false
)
const
;
56
57
#ifdef USE_OTHER_LS
58
MnParabolaPoint
CubicSearch(
const
MnFcn
&,
const
MinimumParameters
&,
const
MnAlgebraicVector
&,
double
,
double
,
const
MnMachinePrecision
&,
bool
debug =
false
)
const
;
59
60
MnParabolaPoint
BrentSearch(
const
MnFcn
&,
const
MinimumParameters
&,
const
MnAlgebraicVector
&,
double
,
double
,
const
MnMachinePrecision
&,
bool
debug =
false
)
const
;
61
#endif
62
63
private
:
64
65
};
66
67
}
// namespace Minuit2
68
69
}
// namespace ROOT
70
71
#endif
// ROOT_Minuit2_MnLineSearch
MnMatrix.h
ROOT::Minuit2::LAVector
Definition:
LAVector.h:33
ROOT::Minuit2::MinimumParameters
Definition:
MinimumParameters.h:21
ROOT::Minuit2::MnFcn
Wrapper class to FCNBase interface used internally by Minuit.
Definition:
MnFcn.h:33
ROOT::Minuit2::MnLineSearch
Implements a 1-dimensional minimization along a given direction (i.e.
Definition:
MnLineSearch.h:47
ROOT::Minuit2::MnLineSearch::operator()
MnParabolaPoint operator()(const MnFcn &, const MinimumParameters &, const MnAlgebraicVector &, double, const MnMachinePrecision &, bool debug=false) const
Perform a line search from position defined by the vector st along the direction step,...
Definition:
MnLineSearch.cxx:49
ROOT::Minuit2::MnLineSearch::~MnLineSearch
~MnLineSearch()
Definition:
MnLineSearch.h:53
ROOT::Minuit2::MnLineSearch::MnLineSearch
MnLineSearch()
Definition:
MnLineSearch.h:51
ROOT::Minuit2::MnMachinePrecision
determines the relative floating point arithmetic precision.
Definition:
MnMachinePrecision.h:27
ROOT::Minuit2::MnParabolaPoint
A point of a parabola.
Definition:
MnParabolaPoint.h:39
ROOT
Namespace for new ROOT classes and functions.
Definition:
StringConv.hxx:21