jax.scipy.special.gamma#
- jax.scipy.special.gamma(x)[source]#
gamma function.
LAX-backend implementation of
scipy.special.gamma()
.The JAX version only accepts real-valued inputs.
Original docstring below.
The gamma function is defined as
\[\Gamma(z) = \int_0^\infty t^{z-1} e^{-t} dt\]for \(\Re(z) > 0\) and is extended to the rest of the complex plane by analytic continuation. See [dlmf] for more details.
- Returns:
Values of the gamma function
- Return type:
scalar or ndarray
References
[dlmf]NIST Digital Library of Mathematical Functions https://dlmf.nist.gov/5.2#E1