gncpy.math.gamma_fnc

gamma_fnc(alpha)[source]

Implements a gamma function.

Notes

This implements the gamma function as

\[\Gamma(\alpha) = (\alpha -1)!\]

Todo

Add support for complex number input

Parameters:

alpha (int) – number to evaluate the gamma function at.

Returns:

result of the gamma function.

Return type:

int