Gamma

Gamma function (SymPy, mpmath, WMA)

The gamma function is one commonly used extension of the factorial function applied to complex numbers, and is defined for all complex numbers except the non-positive integers.


Gamma[z]

is the gamma function on the complex number z.

Gamma[z, x]

is the upper incomplete gamma function.

Gamma[z, $x_0$, $x_1$]

is equivalent to Gamma[z, $x_0$] - Gamma[z, $x_1$].

Gamma[z] is equivalent to (z - 1)!:

Exact arguments:

Numeric arguments:

Both Gamma and Factorial functions are continuous:

Factorial2
LogGamma