src/main/cpp/numerics4cpp/special/gamma.h File Reference

#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)


Detailed Description

Implementations for several functions related to the Gamma function.

Function Documentation

double log_gamma ( double  x  ) 

Returns the natural logarithm of the gamma function.

Parameters:
x the value. log(Γ(x)).

double regularized_gamma_p ( double  a,
double  x 
)

Returns the regularized gamma function P(a, x).

Parameters:
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).

Parameters:
a the a parameter.
x the value. the regularized gamma function Q(a, x).


Generated on Wed Nov 21 22:22:15 2007 for numerics4c++ by  doxygen 1.5.3