![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Functions | |
constexpr double | Pi () |
Pi constant. | |
constexpr double | GeVtoifm () |
A constant to transform GeV into fm \(^{-1}\). | |
constexpr double | GeVtoifm2 () |
A constant to transform GeV \(^{2}\) into fm \(^{-2}\). | |
constexpr double | GeVtoifm3 () |
A constant to transform GeV \(^{3}\) into fm \(^{-3}\). | |
constexpr double | mnucleon () |
Nucleon's mass. Value as in UrQMD. | |
constexpr double | mpion () |
Pion's mass. Value as in UrQMD. | |
double | BesselI (int n, double x) |
Integer order modified Bessel function I_n(x) | |
double | BesselK (int n, double x) |
Integer order modified Bessel function K_n(x) | |
double | BesselI0 (double x) |
Modified Bessel function I_0(x) | |
double | BesselK0 (double x) |
Modified Bessel function K_0(x) | |
double | BesselI1 (double x) |
Modified Bessel function I_1(x) | |
double | BesselK1 (double x) |
Modified Bessel function K_1(x) | |
double | BesselJ0 (double x) |
Bessel function J0(x) for any real x. | |
double | BesselJ1 (double x) |
Bessel function J1(x) for any real x. | |
double | BesselY0 (double x) |
Bessel function Y0(x) for positive x. | |
double | BesselY1 (double x) |
Bessel function Y1(x) for positive x. | |
double | StruveH0 (double x) |
Struve function of order 0. | |
double | StruveH1 (double x) |
Struve function of order 1. | |
double | StruveL0 (double x) |
Modified Struve function of order 0. | |
double | StruveL1 (double x) |
Modified Struve function of order 1. | |
double | BesselK0exp (double x) |
Modified Bessel function K_0(x), divided by exponential factor. | |
double | BesselK1exp (double x) |
Modified Bessel function K_1(x), divided by exponential factor. | |
double | BesselKexp (int n, double x) |
Modified Bessel function K_n(x), divided by exponential factor. | |
double | BesselI0exp (double x) |
Modified Bessel function I_0(x), divided by exponential factor. | |
double | BesselI1exp (double x) |
Modified Bessel function I_1(x), divided by exponential factor. | |
double | BesselIexp (int n, double x) |
Modified Bessel function I_n(x), divided by exponential factor. | |
double | LogGamma (double x) |
Computes the logarithm of the Gamma function. | |
double | Gamma (double x) |
Computes the Gamma function. | |
template<typename T> | |
T | LambertW0 (T z) |
Computes the Lambert W function (0-branch) using Halley's method. | |
double thermalfist::xMath::BesselI | ( | int | n, |
double | x ) |
Integer order modified Bessel function I_n(x)
Bessel and related special functions. Implementation of these special functions is adapted from the CERN-ROOT package: https://root.cern.ch/
n | Order of the Bessel function |
x | Argument of the Bessel function |
double thermalfist::xMath::BesselI0 | ( | double | x | ) |
double thermalfist::xMath::BesselI0exp | ( | double | x | ) |
double thermalfist::xMath::BesselI1 | ( | double | x | ) |
double thermalfist::xMath::BesselI1exp | ( | double | x | ) |
double thermalfist::xMath::BesselIexp | ( | int | n, |
double | x ) |
double thermalfist::xMath::BesselJ0 | ( | double | x | ) |
double thermalfist::xMath::BesselJ1 | ( | double | x | ) |
double thermalfist::xMath::BesselK | ( | int | n, |
double | x ) |
double thermalfist::xMath::BesselK0 | ( | double | x | ) |
double thermalfist::xMath::BesselK0exp | ( | double | x | ) |
double thermalfist::xMath::BesselK1 | ( | double | x | ) |
double thermalfist::xMath::BesselK1exp | ( | double | x | ) |
double thermalfist::xMath::BesselKexp | ( | int | n, |
double | x ) |
double thermalfist::xMath::BesselY0 | ( | double | x | ) |
double thermalfist::xMath::BesselY1 | ( | double | x | ) |
double thermalfist::xMath::Gamma | ( | double | x | ) |
|
constexpr |
|
constexpr |
|
constexpr |
T thermalfist::xMath::LambertW0 | ( | T | z | ) |
Computes the Lambert W function (0-branch) using Halley's method.
The Lambert W function is the inverse function of ( f(W) = W e^W ). This implementation uses Halley's method to achieve the desired accuracy within 10 * epsilon, where epsilon is the machine precision. The initial guess for the iteration is z = 0.
T | The type of the input value. |
z | The input value for which the Lambert W function is computed. |
double thermalfist::xMath::LogGamma | ( | double | x | ) |
|
constexpr |
|
constexpr |
double thermalfist::xMath::StruveH0 | ( | double | x | ) |
double thermalfist::xMath::StruveH1 | ( | double | x | ) |
double thermalfist::xMath::StruveL0 | ( | double | x | ) |