Logo ROOT  
Reference Guide
No Matches
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:


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...


namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
namespace  ROOT::Math
namespace  ROOT::Math::Util
 namespace defining Utility functions needed by mathcore


#define MATH_UNUSED(var)   (void)var


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)
template<class T >
std::string ROOT::Math::Util::ToString (const T &val)
 Utility function for conversion to strings.

Macro Definition Documentation


#define MATH_UNUSED (   var)    (void)var

Definition at line 34 of file Util.h.