jax.scipy.special.gammaln

Contents

jax.scipy.special.gammaln#

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

Natural log of the absolute value of the gamma function.

JAX implementation of scipy.special.gammaln.

\[\mathrm{gammaln}(x) = \log(|\Gamma(x)|)\]

Where \(\Gamma\) is the gamma() function.

Parameters:

x (jax.typing.ArrayLike) – arraylike, real valued.

Returns:

array containing the values of the log-gamma function

Return type:

Array

See also

Notes

gammaln does not support complex-valued inputs.