Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
xMath.h File Reference

Contains some extra mathematical functions used in the code. More...

#include "xMath.tcc"

Go to the source code of this file.

Namespaces

namespace  thermalfist
 The main namespace where all classes and functions of the Thermal-FIST library reside.
 
namespace  thermalfist::xMath
 

Functions

constexpr double thermalfist::xMath::Pi ()
 Pi constant.
 
constexpr double thermalfist::xMath::GeVtoifm ()
 A constant to transform GeV into fm \(^{-1}\).
 
constexpr double thermalfist::xMath::GeVtoifm2 ()
 A constant to transform GeV \(^{2}\) into fm \(^{-2}\).
 
constexpr double thermalfist::xMath::GeVtoifm3 ()
 A constant to transform GeV \(^{3}\) into fm \(^{-3}\).
 
constexpr double thermalfist::xMath::mnucleon ()
 Nucleon's mass. Value as in UrQMD.
 
constexpr double thermalfist::xMath::mpion ()
 Pion's mass. Value as in UrQMD.
 
double thermalfist::xMath::BesselI (int n, double x)
 Integer order modified Bessel function I_n(x)
 
double thermalfist::xMath::BesselK (int n, double x)
 Integer order modified Bessel function K_n(x)
 
double thermalfist::xMath::BesselI0 (double x)
 Modified Bessel function I_0(x)
 
double thermalfist::xMath::BesselK0 (double x)
 Modified Bessel function K_0(x)
 
double thermalfist::xMath::BesselI1 (double x)
 Modified Bessel function I_1(x)
 
double thermalfist::xMath::BesselK1 (double x)
 Modified Bessel function K_1(x)
 
double thermalfist::xMath::BesselJ0 (double x)
 Bessel function J0(x) for any real x.
 
double thermalfist::xMath::BesselJ1 (double x)
 Bessel function J1(x) for any real x.
 
double thermalfist::xMath::BesselY0 (double x)
 Bessel function Y0(x) for positive x.
 
double thermalfist::xMath::BesselY1 (double x)
 Bessel function Y1(x) for positive x.
 
double thermalfist::xMath::StruveH0 (double x)
 Struve function of order 0.
 
double thermalfist::xMath::StruveH1 (double x)
 Struve function of order 1.
 
double thermalfist::xMath::StruveL0 (double x)
 Modified Struve function of order 0.
 
double thermalfist::xMath::StruveL1 (double x)
 Modified Struve function of order 1.
 
double thermalfist::xMath::BesselK0exp (double x)
 Modified Bessel function K_0(x), divided by exponential factor.
 
double thermalfist::xMath::BesselK1exp (double x)
 Modified Bessel function K_1(x), divided by exponential factor.
 
double thermalfist::xMath::BesselKexp (int n, double x)
 Modified Bessel function K_n(x), divided by exponential factor.
 
double thermalfist::xMath::BesselI0exp (double x)
 Modified Bessel function I_0(x), divided by exponential factor.
 
double thermalfist::xMath::BesselI1exp (double x)
 Modified Bessel function I_1(x), divided by exponential factor.
 
double thermalfist::xMath::BesselIexp (int n, double x)
 Modified Bessel function I_n(x), divided by exponential factor.
 
double thermalfist::xMath::LogGamma (double x)
 Computes the logarithm of the Gamma function.
 
double thermalfist::xMath::Gamma (double x)
 Computes the Gamma function.
 
template<typename T>
thermalfist::xMath::LambertW0 (T z)
 Computes the Lambert W function (0-branch) using Halley's method.
 

Detailed Description

Contains some extra mathematical functions used in the code.

Definition in file xMath.h.