Berserk Docs
Scalar FunctionsMath Functions

gamma

Gamma function Γ(x). Poles at non-positive integers return +∞; non-integer negative values return the reflected value.

Syntax

gamma(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print gamma(0.5)
print_0 (real)
1.7724538509055159

On this page