Gamma Functors

True gamma

The true gamma is defined as $\Gamma(z)=\int_0^\infty t^{z-1}\exp(-t)dt$ When calculated out of allowed domains the NaN values are returned.

Incomplete gamma functions

There are four incomplete gamma functions: two are known as regularized incomplete gamma functions, i.e. normalized, that return values in the range $[0, 1]$, and other two are non-normalised and return values in the range $[0, \Gamma(a)]$.

The first type is defined as following:

$P(z, a)=\frac{1}{\Gamma(a)}\int_0^z t^{a-1}\exp(-t)dt$

The second type is defined as following:

$Q(z, a)=\frac{1}{\Gamma(a)}\int_z^\infty t^{a-1}\exp(-t)dt$