Skip to content

lgamma

lgamma(x): number

Defined in: special.js:38

Natural log of the absolute value of the gamma function. Exact poles (0, -1, -2, …) return Infinity.

Parameters

x

number

Returns

number

ln|Γ(x)|