BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
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 More... | |
MnHesse (const MnStrategy &stra) | |
conctructor with specific strategy More... | |
MnHesse (unsigned int stra) | |
constructor with user-defined strategy level More... | |
~MnHesse () | |
unsigned int | Ncycles () const |
forward interface of MnStrategy More... | |
MnUserParameterState | operator() (const FCNBase &, const MnUserParameters &, const MnUserCovariance &, unsigned int maxcalls=0) const |
FCN + MnUserParameters + MnUserCovariance. More... | |
MnUserParameterState | operator() (const FCNBase &, const MnUserParameters &, unsigned int maxcalls=0) const |
high-level API More... | |
MnUserParameterState | operator() (const FCNBase &, const MnUserParameterState &, unsigned int maxcalls=0) const |
FCN + MnUserParameterState. More... | |
MnUserParameterState | operator() (const FCNBase &, const std::vector< double > &, const MnUserCovariance &, unsigned int maxcalls=0) const |
FCN + parameters + MnUserCovariance. More... | |
MnUserParameterState | operator() (const FCNBase &, const std::vector< double > &, const std::vector< double > &, unsigned int maxcalls=0) const |
low-level API More... | |
MnUserParameterState | operator() (const FCNBase &, const std::vector< double > &, unsigned int nrow, const std::vector< double > &, unsigned int maxcalls=0) const |
FCN + parameters + covariance. More... | |
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. (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. More... | |
MinimumState | operator() (const MnFcn &, const MinimumState &, const MnUserTransformation &, unsigned int maxcalls=0) const |
internal interface More... | |
double | TolerG2 () const |
double | Tolerstp () const |
Private Attributes | |
MnStrategy | fStrategy |
|
inline |
|
inline |
|
inline |
|
inline |
forward interface of MnStrategy
Definition at line 86 of file MnHesse.h.
References fStrategy, and ROOT::Minuit2::MnStrategy::HessianNCycles().
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | , |
const MnUserParameters & | , | ||
const MnUserCovariance & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + MnUserParameters + MnUserCovariance.
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | , |
const MnUserParameters & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
high-level API
FCN + MnUserParameters
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | , |
const MnUserParameterState & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + MnUserParameterState.
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | , |
const std::vector< double > & | , | ||
const MnUserCovariance & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + parameters + MnUserCovariance.
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | , |
const std::vector< double > & | , | ||
const std::vector< double > & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
low-level API
FCN + parameters + errors
MnUserParameterState ROOT::Minuit2::MnHesse::operator() | ( | const FCNBase & | , |
const std::vector< double > & | , | ||
unsigned int | nrow, | ||
const std::vector< double > & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
FCN + parameters + covariance.
void ROOT::Minuit2::MnHesse::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. (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.
MinimumState ROOT::Minuit2::MnHesse::operator() | ( | const MnFcn & | , |
const MinimumState & | , | ||
const MnUserTransformation & | , | ||
unsigned int | maxcalls = 0 |
||
) | const |
internal interface
|
inline |
Definition at line 88 of file MnHesse.h.
References fStrategy, and ROOT::Minuit2::MnStrategy::HessianG2Tolerance().
|
inline |
Definition at line 87 of file MnHesse.h.
References fStrategy, and ROOT::Minuit2::MnStrategy::HessianStepTolerance().
|
private |
Definition at line 92 of file MnHesse.h.
Referenced by Ncycles(), TolerG2(), and Tolerstp().