The Math namespace includes the declaration of some useful mathematical functions. More...
Functions | |
double | derivativeAlphaS (Energy q, Energy lam, unsigned int nf, unsigned int nloop) |
The derivative of \(\alpha_S\) with respect to \(\ln(Q^2/\Lambda^2)\). | |
double | alphaS (Energy q, Energy lam, unsigned int nf, unsigned int nloop) |
The 1,2,3-loop parametrization of \(\alpha_S\). | |
Complex | Li2 (Complex) |
The dilog function taken from FORTRAN Herwig. | |
long double | ReLi2 (long double) |
The real part of the dilog function taken from FORTRAN Herwig. | |
double | angleZeroTo2Pi (double angle) |
Fold angles into the range (0,2 Pi) | |
double | angleMinusPiToPi (double angle) |
Fold angles into the range (-Pi,Pi) | |
template<typename T > | |
T | median (std::vector< T > v) |
Calculates the (lower) median of a vector of T objects. | |
The Math namespace includes the declaration of some useful mathematical functions.
|
inline |
The 1,2,3-loop parametrization of \(\alpha_S\).
q | The scale |
lam | \(\Lambda_{\rm QCD}\) |
nf | The number of flavours |
Definition at line 46 of file AlphaS.h.
References alphaS(), ThePEG::Constants::pi, and ThePEG::sqr().
Referenced by alphaS().
|
inline |
Fold angles into the range (-Pi,Pi)
Definition at line 48 of file Maths.h.
References angleMinusPiToPi(), and angleZeroTo2Pi().
Referenced by angleMinusPiToPi().
|
inline |
Fold angles into the range (0,2 Pi)
Definition at line 39 of file Maths.h.
References angleZeroTo2Pi().
Referenced by angleMinusPiToPi(), and angleZeroTo2Pi().
|
inline |
The derivative of \(\alpha_S\) with respect to \(\ln(Q^2/\Lambda^2)\).
q | The scale |
lam | \(\Lambda_{\rm QCD}\) |
nf | The number of flavours |
Definition at line 22 of file AlphaS.h.
References derivativeAlphaS(), ThePEG::Constants::pi, and ThePEG::sqr().
Referenced by derivativeAlphaS().