Functions
contrib/mul/mbl/mbl_gamma.h File Reference

Gamma and Incomplete Gamma functions. More...

Go to the source code of this file.

Functions

double mbl_log_gamma (double a)
 log of Gamma function of a.
double mbl_gamma_p (double a, double x)
 Incomplete gamma function, P(a,x).
double mbl_gamma_q (double a, double x)
 Incomplete gamma function, Q(a,x).
double mbl_log_gamma_q (double a, double x)
 log of Incomplete gamma function, Q(a,x).
double mbl_erf (double x)
 The Error function.

Detailed Description

Gamma and Incomplete Gamma functions.

Author:
Tim Cootes
Date:
18-Apr-2001

Definition in file mbl_gamma.h.


Function Documentation

double mbl_erf ( double  x) [inline]

The Error function.

erf(x) = (2/sqrt(pi)) Integral from 0 to x (exp(-t^2) dt)

Definition at line 23 of file mbl_gamma.h.

double mbl_gamma_p ( double  a,
double  x 
)

Incomplete gamma function, P(a,x).

Definition at line 127 of file mbl_gamma.cxx.

double mbl_gamma_q ( double  a,
double  x 
)

Incomplete gamma function, Q(a,x).

Definition at line 147 of file mbl_gamma.cxx.

double mbl_log_gamma ( double  a)

log of Gamma function of a.

Definition at line 10 of file mbl_gamma.cxx.

double mbl_log_gamma_q ( double  a,
double  x 
)

log of Incomplete gamma function, Q(a,x).

Definition at line 167 of file mbl_gamma.cxx.