| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The Gamma function is defined by the following integral,
\Gamma(x) = \int_0^t dt t^{x-1} \exp(-t)
|
GSL_SF_GAMMA_XMAX
and is 171.0.
\Gamma^*(x) = \Gamma(x)/(\sqrt{2\pi} x^{(x-1/2)} \exp(-x))
= (1 + (1/12x) + ...) for x \to \infty
|
GSL_ELOSS error when it occurs. The absolute
value part (lnr), however, never suffers from loss of precision.
gsl_sf_lngamma for n < 170,
but defers for larger n.
n choose m
= n!/(m!(n-m)!)
n choose m. This is
equivalent to the sum \log(n!) - \log(m!) - \log((n-m)!).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |