gamma()

Computes the gamma function for the provided number.

Syntax

gamma(number)

Learn more about syntax conventions.

Parameters

Name Type Required Description
number real ✔️ The number used to calculate the gamma function.

Returns

Gamma function of number.

For computing log-gamma function, see loggamma().