Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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)
 
template<class T >
std::string ToString (const T &val)
 Utility function for conversion to strings.
 

Detailed Description

namespace defining Utility functions needed by mathcore

Function Documentation

◆ EvalLog()

template<class T >
T ROOT::Math::Util::EvalLog ( 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.