API class for calculating the numerical covariance matrix (== 2x Inverse Hessian == 2x Inverse 2nd derivative); can be used by the user or Minuit itself.
Public Member Functions | |
MnHesse () | |
default constructor with default strategy | |
MnHesse (const MnStrategy &stra) | |
conctructor with specific strategy | |
MnHesse (unsigned int stra) | |
constructor with user-defined strategy level | |
~MnHesse () | |
unsigned int | Ncycles () const |
forward interface of MnStrategy | |
MnUserParameterState | operator() (const FCNBase &, const MnUserParameters &, const MnUserCovariance &, unsigned int maxcalls=0) const |
FCN + MnUserParameters + MnUserCovariance. | |
MnUserParameterState | operator() (const FCNBase &, const MnUserParameters &, unsigned int maxcalls=0) const |
high-level API | |
MnUserParameterState | operator() (const FCNBase &, const MnUserParameterState &, unsigned int maxcalls=0) const |
FCN + MnUserParameterState. | |
MnUserParameterState | operator() (const FCNBase &, const std::vector< double > &, const MnUserCovariance &, unsigned int maxcalls=0) const |
FCN + parameters + MnUserCovariance. | |
MnUserParameterState | operator() (const FCNBase &, const std::vector< double > &, const std::vector< double > &, unsigned int maxcalls=0) const |
low-level API | |
MnUserParameterState | operator() (const FCNBase &, const std::vector< double > &, unsigned int nrow, const std::vector< double > &, unsigned int maxcalls=0) const |
FCN + parameters + covariance. | |
void | operator() (const FCNBase &, FunctionMinimum &, unsigned int maxcalls=0) const |
API to use MnHesse after minimization when function mimimum is avalilable, otherwise information on the last state will be lost. | |
MinimumState | operator() (const MnFcn &, const MinimumState &, const MnUserTransformation &, unsigned int maxcalls=0) const |
internal interface | |
double | TolerG2 () const |
double | Tolerstp () const |
Private Attributes | |
MnStrategy | fStrategy |
#include <Minuit2/MnHesse.h>
|
inline |
|
inline |
|
inline |
|
inline |
forward interface of MnStrategy
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
const MnUserParameters & | par, | ||
const MnUserCovariance & | cov, | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + MnUserParameters + MnUserCovariance.
Definition at line 55 of file MnHesse.cxx.
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
const MnUserParameters & | par, | ||
unsigned int | maxcalls = 0 |
||
) | const |
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
const MnUserParameterState & | state, | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + MnUserParameterState.
Definition at line 62 of file MnHesse.cxx.
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
const std::vector< double > & | par, | ||
const MnUserCovariance & | cov, | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + parameters + MnUserCovariance.
Definition at line 42 of file MnHesse.cxx.
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
const std::vector< double > & | par, | ||
const std::vector< double > & | err, | ||
unsigned int | maxcalls = 0 |
||
) | const |
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
const std::vector< double > & | par, | ||
unsigned int | nrow, | ||
const std::vector< double > & | cov, | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + parameters + covariance.
Definition at line 35 of file MnHesse.cxx.
void ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | fcn, |
FunctionMinimum & | min, | ||
unsigned int | maxcalls = 0 |
||
) | const |
API to use MnHesse after minimization when function mimimum is avalilable, otherwise information on the last state will be lost.
(It would be needed to re-call the gradient and spend extra useless function calls) The Function Minimum is updated (modified) by adding the Hesse results as last state of minimization
Definition at line 83 of file MnHesse.cxx.
MinimumState ROOT::Minuit2::MnHesse::operator() | ( | const MnFcn & | mfcn, |
const MinimumState & | st, | ||
const MnUserTransformation & | trafo, | ||
unsigned int | maxcalls = 0 |
||
) | const |
internal interface
Definition at line 93 of file MnHesse.cxx.
|
private |