Thermal-FIST  1.3
Package for hadron resonance gas model applications
Functions
thermalfist::xMath Namespace Reference

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

Functions

double Pi ()
 Pi constant. More...
 
double GeVtoifm ()
 A constant to transform GeV into fm \(^{-1}\). More...
 
double GeVtoifm2 ()
 A constant to transform GeV \(^{2}\) into fm \(^{-2}\). More...
 
double GeVtoifm3 ()
 A constant to transform GeV \(^{3}\) into fm \(^{-3}\). More...
 
double mnucleon ()
 Nucleon's mass. Value as in UrQMD. More...
 
double mpion ()
 Pion's mass. Value as in UrQMD. More...
 
double BesselI (int n, double x)
 integer order modified Bessel function I_n(x) More...
 
double BesselK (int n, double x)
 integer order modified Bessel function K_n(x) More...
 
double BesselI0 (double x)
 modified Bessel function I_0(x) More...
 
double BesselK0 (double x)
 modified Bessel function K_0(x) More...
 
double BesselI1 (double x)
 modified Bessel function I_1(x) More...
 
double BesselK1 (double x)
 modified Bessel function K_1(x) More...
 
double BesselJ0 (double x)
 Bessel function J0(x) for any real x. More...
 
double BesselJ1 (double x)
 Bessel function J1(x) for any real x. More...
 
double BesselY0 (double x)
 Bessel function Y0(x) for positive x. More...
 
double BesselY1 (double x)
 Bessel function Y1(x) for positive x. More...
 
double StruveH0 (double x)
 Struve functions of order 0. More...
 
double StruveH1 (double x)
 Struve functions of order 1. More...
 
double StruveL0 (double x)
 Modified Struve functions of order 0. More...
 
double StruveL1 (double x)
 Modified Struve functions of order 1. More...
 
double BesselK0exp (double x)
 
double BesselK1exp (double x)
 
double BesselKexp (int n, double x)
 
double BesselI0exp (double x)
 
double BesselI1exp (double x)
 
double BesselIexp (int n, double x)
 
double LogGamma (double)
 
double Gamma (double)
 

Detailed Description

Contains some extra mathematical functions used in the code.

Function Documentation

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/

Definition at line 191 of file xMath.cpp.

double thermalfist::xMath::BesselI0 ( double  x)

modified Bessel function I_0(x)

Definition at line 23 of file xMath.cpp.

double thermalfist::xMath::BesselI0exp ( double  x)

Definition at line 727 of file xMath.cpp.

double thermalfist::xMath::BesselI1 ( double  x)

modified Bessel function I_1(x)

Definition at line 90 of file xMath.cpp.

double thermalfist::xMath::BesselI1exp ( double  x)

Definition at line 759 of file xMath.cpp.

double thermalfist::xMath::BesselIexp ( int  n,
double  x 
)

Definition at line 795 of file xMath.cpp.

double thermalfist::xMath::BesselJ0 ( double  x)

Bessel function J0(x) for any real x.

Definition at line 239 of file xMath.cpp.

double thermalfist::xMath::BesselJ1 ( double  x)

Bessel function J1(x) for any real x.

Definition at line 275 of file xMath.cpp.

double thermalfist::xMath::BesselK ( int  n,
double  x 
)

integer order modified Bessel function K_n(x)

Definition at line 161 of file xMath.cpp.

double thermalfist::xMath::BesselK0 ( double  x)

modified Bessel function K_0(x)

Definition at line 55 of file xMath.cpp.

double thermalfist::xMath::BesselK0exp ( double  x)

Definition at line 627 of file xMath.cpp.

double thermalfist::xMath::BesselK1 ( double  x)

modified Bessel function K_1(x)

Definition at line 126 of file xMath.cpp.

double thermalfist::xMath::BesselK1exp ( double  x)

Definition at line 662 of file xMath.cpp.

double thermalfist::xMath::BesselKexp ( int  n,
double  x 
)

Definition at line 697 of file xMath.cpp.

double thermalfist::xMath::BesselY0 ( double  x)

Bessel function Y0(x) for positive x.

Definition at line 312 of file xMath.cpp.

double thermalfist::xMath::BesselY1 ( double  x)

Bessel function Y1(x) for positive x.

Definition at line 347 of file xMath.cpp.

double thermalfist::xMath::Gamma ( double  x)

Definition at line 844 of file xMath.cpp.

double thermalfist::xMath::GeVtoifm ( )
inline

A constant to transform GeV into fm \(^{-1}\).

Examples:
cpc1-HRG-TDep.cpp, and cpc4-mcHRG.cpp.

Definition at line 27 of file xMath.h.

double thermalfist::xMath::GeVtoifm2 ( )
inline

A constant to transform GeV \(^{2}\) into fm \(^{-2}\).

Definition at line 30 of file xMath.h.

double thermalfist::xMath::GeVtoifm3 ( )
inline

A constant to transform GeV \(^{3}\) into fm \(^{-3}\).

Definition at line 33 of file xMath.h.

double thermalfist::xMath::LogGamma ( double  x)

Definition at line 964 of file xMath.cpp.

double thermalfist::xMath::mnucleon ( )
inline

Nucleon's mass. Value as in UrQMD.

Examples:
BagModelFit.cpp.

Definition at line 36 of file xMath.h.

double thermalfist::xMath::mpion ( )
inline

Pion's mass. Value as in UrQMD.

Definition at line 39 of file xMath.h.

double thermalfist::xMath::Pi ( )
inline

Pi constant.

Definition at line 24 of file xMath.h.

double thermalfist::xMath::StruveH0 ( double  x)

Struve functions of order 0.

Definition at line 384 of file xMath.cpp.

double thermalfist::xMath::StruveH1 ( double  x)

Struve functions of order 1.

Definition at line 454 of file xMath.cpp.

double thermalfist::xMath::StruveL0 ( double  x)

Modified Struve functions of order 0.

Definition at line 535 of file xMath.cpp.

double thermalfist::xMath::StruveL1 ( double  x)

Modified Struve functions of order 1.

Definition at line 582 of file xMath.cpp.