Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
minimizers
LMFitter.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _LMFitter_H_
15
#define _LMFitter_H_
16
17
#include "
Fitter.h
"
18
19
namespace
hippodraw {
20
33
class
MDL_HIPPOPLOT_API
LMFitter
:
public
Fitter
34
{
35
36
private
:
37
40
LMFitter
(
const
LMFitter
& );
41
43
std::vector < std::vector < double > >
m_alpha
;
44
46
std::vector < double >
m_beta
;
47
51
double
m_chi_cutoff
;
52
54
double
m_start_lambda
;
55
57
double
m_lambda
;
58
60
double
m_lambda_shrink_factor
;
61
63
double
m_lambda_expand_factor
;
64
65
public
:
66
69
LMFitter
(
const
char
* name );
70
71
Fitter
*
clone
()
const
;
72
75
virtual
bool
calcBestFit ();
76
79
virtual
bool
calcStep ();
80
82
virtual
void
calcAlpha ();
83
87
virtual
int
calcCovariance ( std::vector< std::vector < double > >& cov );
88
90
virtual
bool
solveSystem ();
91
95
virtual
void
setFCN (
StatedFCN
* fcn );
96
97
};
98
99
}
// namespace hippodraw
100
101
#endif // _LMFitter_H_
Generated for HippoDraw Class Library by