jax.scipy.special.loggamma#
- jax.scipy.special.loggamma(x)[source]#
Principal branch of the logarithm of the gamma function.
JAX implementation of
scipy.special.loggamma.Defined to be \(\log(\Gamma(x))\) for \(x > 0\) and extended to the complex plane by analytic continuation. The function has a single branch cut on the negative real axis.
- Parameters:
x (ArrayLike) – arraylike, real or complex valued.
- Returns:
array containing the values of the loggamma function. For complex inputs, the output is complex-valued.
- Return type:
See also
jax.scipy.special.gamma(): the gamma function.jax.scipy.special.gammaln(): the natural log of the absolute value of the gamma function.