ROOT   6.19/01 Reference Guide
ROOT::Math::Util Namespace Reference

namespace defining Utility functions needed by mathcore More...

## Functions

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

## Detailed Description

namespace defining Utility functions needed by mathcore

## ◆ EvalLog()

template<class T >
 T ROOT::Math::Util::EvalLog ( T x )
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 64 of file Util.h.

## ◆ ToString()

template<class T >
 std::string ROOT::Math::Util::ToString ( const T & val )

Utility function for conversion to strings.

Definition at line 50 of file Util.h.