BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
Util.h File Reference
Include dependency graph for Util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ROOT::Math::KahanSum< T >
 The Kahan compensate summation algorithm significantly reduces the numerical error in the total obtained by adding a sequence of finite precision floating point numbers. This is done by keeping a separate running compensation (a variable to accumulate small errors).
. More...
 

Namespaces

 ROOT
 
 ROOT::Math
 
 ROOT::Math::Util
 

Macros

#define MATH_UNUSED(var)   (void)var
 

Functions

template<class T >
ROOT::Math::Util::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 ROOT::Math::Util::ToString (const T &val)
 

Macro Definition Documentation

◆ MATH_UNUSED

#define MATH_UNUSED (   var)    (void)var

Definition at line 26 of file Util.h.