Go to the source code of this file.
|
static double | big = 4.503599627370496e15 |
|
static double | biginv = 2.22044604925031308085e-16 |
|
◆ nf_incompleteGammaFunction()
double nf_incompleteGammaFunction |
( |
double |
a, |
|
|
double |
x, |
|
|
nfu_status * |
status |
|
) |
| |
Definition at line 155 of file nf_incompleteGammaFunctions.cc.
164 double ans, ax,
c,
r;
170 if( (
x <= 0 ) || (
a <= 0 ) )
return( 0.0 );
174 if( ax == 0. )
return( 0.0 );
185 return( ans * ax /
a );
double nf_incompleteGammaFunctionComplementary(double a, double x, nfu_status *status)
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
double nf_gammaFunction(double x, nfu_status *status)
◆ nf_incompleteGammaFunctionComplementary()
double nf_incompleteGammaFunctionComplementary |
( |
double |
a, |
|
|
double |
x, |
|
|
nfu_status * |
status |
|
) |
| |
Definition at line 88 of file nf_incompleteGammaFunctions.cc.
90 double ans, ax,
c, yc,
r, t,
y,
z;
91 double pk, pkm1, pkm2, qk, qkm1, qkm2;
97 if( (
x <= 0 ) || (
a <= 0 ) )
return( 1.0 );
101 if( ax == 0. )
return( 0.0 );
118 pk = pkm1 * z - pkm2 * yc;
119 qk = qkm1 * z - qkm2 * yc;
122 t = fabs( ( ans - r ) / r );
131 if( fabs( pk ) >
big ) {
double nf_incompleteGammaFunction(double a, double x, nfu_status *status)
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
double nf_gammaFunction(double x, nfu_status *status)
◆ big
double big = 4.503599627370496e15 |
|
static |
◆ biginv
double biginv = 2.22044604925031308085e-16 |
|
static |