#include "../numerics.h"
Go to the source code of this file.
Functions | |
double | log_gamma (double x) |
double | regularized_gamma_p (double a, double x) |
double | regularized_gamma_q (double a, double x) |
double log_gamma | ( | double | x | ) |
Returns the natural logarithm of the gamma function.
x | the value. log(Γ(x)). |
double regularized_gamma_p | ( | double | a, | |
double | x | |||
) |
Returns the regularized gamma function P(a, x).
a | the a parameter. | |
x | the value. the regularized gamma function P(a, x). |
double regularized_gamma_q | ( | double | a, | |
double | x | |||
) |
Returns the regularized gamma function Q(a, x) = 1 - P(a, x).
a | the a parameter. | |
x | the value. the regularized gamma function Q(a, x). |