Wilang Documentation1.0.0+4

gamma#

Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.

Available in: math cells, REPL.

Syntax#

gamma(n)

Arguments and behavior#

Integer counts must satisfy the function domain. Random functions do not promise a fixed sample. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
gamma(4)

Expected result: 6.

See also#

factorial

All functions · Math guides