spycial.loggamma

spycial.loggamma = <numba._DUFunc 'loggamma'>

Principal branch of the logarithm of the Gamma function.

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:
  • z (array-like) – Points on the real line or complex plain
  • out (ndarray, optional) – Output array for the values of loggamma at z
Returns:

Values of loggamma at z

Return type:

ndarray