jax.scipy.special.gammaln

Contents

jax.scipy.special.gammaln#

jax.scipy.special.gammaln(x)[source]#

Logarithm of the absolute value of the gamma function.

LAX-backend implementation of scipy.special.gammaln().

Original docstring below.

Defined as

\[\ln(\lvert\Gamma(x)\rvert)\]

where \(\Gamma\) is the gamma function. For more details on the gamma function, see [dlmf].

Parameters:

x (array_like) – Real argument

Returns:

Values of the log of the absolute value of gamma

Return type:

scalar or ndarray

References

[dlmf]

NIST Digital Library of Mathematical Functions https://dlmf.nist.gov/5