BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
determines the relative floating point arithmetic precision. The SetPrecision() method can be used to override Minuit's own determination, when the user knows that the {FCN} function Value is not calculated to the nominal machine accuracy.
Definition at line 27 of file MnMachinePrecision.h.
Public Member Functions | |
MnMachinePrecision () | |
MnMachinePrecision (const MnMachinePrecision &prec) | |
~MnMachinePrecision () | |
double | Eps () const |
eps returns the smallest possible number so that 1.+eps > 1. More... | |
double | Eps2 () const |
eps2 returns 2*sqrt(eps) More... | |
MnMachinePrecision & | operator= (const MnMachinePrecision &prec) |
void | SetPrecision (double prec) |
override Minuit's own determination More... | |
Private Attributes | |
double | fEpsMa2 |
double | fEpsMac |
ROOT::Minuit2::MnMachinePrecision::MnMachinePrecision | ( | ) |
|
inline |
Definition at line 33 of file MnMachinePrecision.h.
|
inline |
Definition at line 35 of file MnMachinePrecision.h.
|
inline |
eps returns the smallest possible number so that 1.+eps > 1.
Definition at line 44 of file MnMachinePrecision.h.
References fEpsMac.
|
inline |
|
inline |
|
inline |
override Minuit's own determination
Definition at line 50 of file MnMachinePrecision.h.
References fEpsMa2, and fEpsMac.
Referenced by ROOT::Minuit2::MnUserTransformation::SetPrecision().
|
private |
Definition at line 58 of file MnMachinePrecision.h.
Referenced by Eps2(), operator=(), and SetPrecision().
|
private |
Definition at line 57 of file MnMachinePrecision.h.
Referenced by Eps(), operator=(), and SetPrecision().