Logo ROOT  
Reference Guide
Util.h File Reference
#include <string>
#include <sstream>
#include <cmath>
#include <limits>
#include <numeric>
#include "Types.h"
Include dependency graph for Util.h:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Math::KahanSum< T, N >
 The Kahan summation is a compensated summation algorithm, which significantly reduces numerical errors when adding a sequence of finite-precision floating point numbers. More...
 

Namespaces

namespace  ROOT
 VSD Structures.
 
namespace  ROOT::Math
 
namespace  ROOT::Math::Util
 namespace defining Utility functions needed by mathcore
 

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)
 Utility function for conversion to strings. More...
 

Macro Definition Documentation

◆ MATH_UNUSED

#define MATH_UNUSED (   var)    (void)var

Definition at line 34 of file Util.h.