ROOT  6.06/09
Reference Guide
Functions
ROOT::Math::Util Namespace Reference

namespace defining Utility functions needed by mathcore More...

Functions

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

Detailed Description

namespace defining Utility functions needed by mathcore

Function Documentation

double ROOT::Math::Util::EvalLog ( double  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 55 of file Util.h.

Referenced by ROOT::Fit::FitUtil::EvaluateLogL(), ROOT::Fit::FitUtil::EvaluatePdf(), ROOT::Fit::FitUtil::EvaluatePoissonBinPdf(), ROOT::Fit::FitUtil::EvaluatePoissonLogL(), and ROOT::Minuit2::FumiliMaximumLikelihoodFCN::operator()().

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