Macros | Functions | Variables
gamma.c File Reference
#include "mconf.h"
Include dependency graph for gamma.c:

Go to the source code of this file.

Macros

#define MAXGAM   171.624376956302725
 
#define MAXLGM   2.556348e305
 
#define MAXSTIR   143.01608
 

Functions

double Gamma (double x)
 
double lgam (double x)
 
double lgam_sgn (double x, int *sign)
 
static double stirf (double)
 

Variables

static double A []
 
static double B []
 
static double C []
 
static double LOGPI = 1.14472988584940017414
 
static double LS2PI = 0.91893853320467274178
 
double MAXLOG
 
static double P []
 
static double Q []
 
static double SQTPI = 2.50662827463100050242E0
 
static double STIR [5]
 

Macro Definition Documentation

◆ MAXGAM

#define MAXGAM   171.624376956302725

Definition at line 117 of file gamma.c.

◆ MAXLGM

#define MAXLGM   2.556348e305

Definition at line 271 of file gamma.c.

◆ MAXSTIR

#define MAXSTIR   143.01608

Definition at line 129 of file gamma.c.

Function Documentation

◆ Gamma()

double Gamma ( double  x)

Definition at line 160 of file gamma.c.

◆ lgam()

double lgam ( double  x)

Definition at line 275 of file gamma.c.

◆ lgam_sgn()

double lgam_sgn ( double  x,
int sign 
)

Definition at line 281 of file gamma.c.

◆ stirf()

static double stirf ( double  x)
static

Definition at line 138 of file gamma.c.

Variable Documentation

◆ A

double A[]
static
Initial value:
= {
8.11614167470508450300E-4,
-5.95061904284301438324E-4,
7.93650340457716943945E-4,
-2.77777777730099687205E-3,
8.33333333333331927722E-2
}

Definition at line 241 of file gamma.c.

◆ B

double B[]
static
Initial value:
= {
-1.37825152569120859100E3,
-3.88016315134637840924E4,
-3.31612992738871184744E5,
-1.16237097492762307383E6,
-1.72173700820839662146E6,
-8.53555664245765465627E5
}

Definition at line 249 of file gamma.c.

◆ C

double C[]
static
Initial value:
= {
-3.51815701436523470549E2,
-1.70642106651881159223E4,
-2.20528590553854454839E5,
-1.13933444367982507207E6,
-2.53252307177582951285E6,
-2.01889141433532773231E6
}

Definition at line 258 of file gamma.c.

◆ LOGPI

double LOGPI = 1.14472988584940017414
static

Definition at line 118 of file gamma.c.

◆ LS2PI

double LS2PI = 0.91893853320467274178
static

Definition at line 269 of file gamma.c.

◆ MAXLOG

double MAXLOG

Definition at line 57 of file const.c.

◆ P

double P[]
static
Initial value:
= {
1.60119522476751861407E-4,
1.19135147006586384913E-3,
1.04213797561761569935E-2,
4.76367800457137231464E-2,
2.07448227648435975150E-1,
4.94214826801497100753E-1,
9.99999999999999996796E-1
}

Definition at line 96 of file gamma.c.

◆ Q

double Q[]
static
Initial value:
= {
-2.31581873324120129819E-5,
5.39605580493303397842E-4,
-4.45641913851797240494E-3,
1.18139785222060435552E-2,
3.58236398605498653373E-2,
-2.34591795718243348568E-1,
7.14304917030273074085E-2,
1.00000000000000000320E0
}

Definition at line 106 of file gamma.c.

◆ SQTPI

double SQTPI = 2.50662827463100050242E0
static

Definition at line 130 of file gamma.c.

◆ STIR

double STIR[5]
static
Initial value:
= {
7.87311395793093628397E-4,
-2.29549961613378126380E-4,
-2.68132617805781232825E-3,
3.47222221605458667310E-3,
8.33333333333482257126E-2,
}

Definition at line 121 of file gamma.c.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:47