BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
namespace defining Utility functions needed by mathcore
Functions | |
template<class T > | |
T | EvalLog (T x) |
safe evaluation of log(x) with a protections against negative or zero argument to the log smooth linear extrapolation below function values smaller than epsilon (better than a simple cut-off) More... | |
template<class T > | |
std::string | ToString (const T &val) |
|
inline |
safe evaluation of log(x) with a protections against negative or zero argument to the log smooth linear extrapolation below function values smaller than epsilon (better than a simple cut-off)
Definition at line 56 of file Util.h.
Referenced by ROOT::Minuit2::FumiliMaximumLikelihoodFCN::operator()().
std::string ROOT::Math::Util::ToString | ( | const T & | val | ) |
Utility function for conversion to strings
Definition at line 42 of file Util.h.
Referenced by ROOT::Math::IBaseParam::ParameterName().