Back to Symbolic Math (SymEngine)
sym.gamma
Computes the gamma function of a symbolic expression.
Syntax
sym.gamma(x)
Description
Computes the gamma function of a symbolic expression. The gamma function Γ(x) extends the factorial to complex numbers. For positive integers, Γ(n) = (n-1)!. It satisfies the recurrence relation Γ(x+1) = x·Γ(x).
Parameters
| Name | Description |
|---|---|
| x | - The argument (as a symbolic expression). |
Returns
Expr