CbmRoot
xMath.h
Go to the documentation of this file.
1 #ifndef XMATH_H
2 #define XMATH_H
3 
4 namespace xMath {
5  inline double Pi() { return 3.14159265358979323846; }
6  inline double GeVtoifm() { return 1. / 0.197; } //5.06773; }
7 
8  // Bessel functions
9  double BesselI(int n,
10  double x); // integer order modified Bessel function I_n(x)
11  double BesselK(int n,
12  double x); // integer order modified Bessel function K_n(x)
13  double BesselI0(double x); // modified Bessel function I_0(x)
14  double BesselK0(double x); // modified Bessel function K_0(x)
15  double BesselI1(double x); // modified Bessel function I_1(x)
16  double BesselK1(double x); // modified Bessel function K_1(x)
17  double BesselJ0(double x); // Bessel function J0(x) for any real x
18  double BesselJ1(double x); // Bessel function J1(x) for any real x
19  double BesselY0(double x); // Bessel function Y0(x) for positive x
20  double BesselY1(double x); // Bessel function Y1(x) for positive x
21  double StruveH0(double x); // Struve functions of order 0
22  double StruveH1(double x); // Struve functions of order 1
23  double StruveL0(double x); // Modified Struve functions of order 0
24  double StruveL1(double x); // Modified Struve functions of order 1
25 
26  double
27  BesselK0exp(double x); // modified Bessel function K_0(x) without exponent
28  double
29  BesselK1exp(double x); // modified Bessel function K_1(x) without exponent
30  double BesselKexp(
31  int n,
32  double
33  x); // integer order modified Bessel function K_n(x) without exponent
34 } // namespace xMath
35 
36 #endif // XMATH_H
xMath::StruveH1
double StruveH1(double x)
Definition: xMath.cxx:480
xMath::StruveL1
double StruveL1(double x)
Definition: xMath.cxx:622
xMath::BesselY0
double BesselY0(double x)
Definition: xMath.cxx:323
xMath::BesselI1
double BesselI1(double x)
Definition: xMath.cxx:90
xMath::BesselI
double BesselI(int n, double x)
Definition: xMath.cxx:208
xMath
Definition: xMath.h:4
xMath::BesselK0
double BesselK0(double x)
Definition: xMath.cxx:52
xMath::BesselJ0
double BesselJ0(double x)
Definition: xMath.cxx:254
xMath::Pi
double Pi()
Definition: xMath.h:5
xMath::BesselJ1
double BesselJ1(double x)
Definition: xMath.cxx:288
xMath::StruveH0
double StruveH0(double x)
Definition: xMath.cxx:391
xMath::BesselY1
double BesselY1(double x)
Definition: xMath.cxx:356
xMath::BesselK1
double BesselK1(double x)
Definition: xMath.cxx:140
xMath::BesselK1exp
double BesselK1exp(double x)
Definition: xMath.cxx:704
xMath::BesselI0
double BesselI0(double x)
Definition: xMath.cxx:7
xMath::BesselK
double BesselK(int n, double x)
Definition: xMath.cxx:180
x
Double_t x
Definition: CbmMvdSensorDigiToHitTask.cxx:68
xMath::BesselKexp
double BesselKexp(int n, double x)
Definition: xMath.cxx:747
xMath::BesselK0exp
double BesselK0exp(double x)
Definition: xMath.cxx:664
xMath::GeVtoifm
double GeVtoifm()
Definition: xMath.h:6
xMath::StruveL0
double StruveL0(double x)
Definition: xMath.cxx:577