Logo ROOT   6.18/05
Reference Guide
Classes | Namespaces | Macros | Functions
Util.h File Reference
#include <string>
#include <sstream>
#include <cmath>
#include <limits>
#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 >
 The Kahan compensate summation algorithm significantly reduces the numerical error in the total obtained by adding a sequence of finite precision floating point numbers. More...
 

Namespaces

namespace  ROOT
 Namespace for new ROOT classes and functions.
 
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 33 of file Util.h.