Home · Command reference

RainbowStats™ · Command reference

GAMMA — Gamma function

Evaluate the mathematical gamma function for a supported input.

Syntax

GAMMA(value)

Inputs and results

Accepts one argument. Supported input types and the returned result follow the existing GAMMA operation.

Example

GAMMA(5)

Notes and interpretation

For a positive integer n, Gamma(n) = (n - 1)!. Thus Gamma(5) = 24. The real gamma function has poles at zero and the negative integers. This is the gamma function, not the gamma distribution or an option Greek.