pub fn gamma<T: GammaArg>(z: T) -> TExpand description
Gamma function $\Gamma(z)$ for real or complex argument.
It is defined as 1:
$$ \Gamma(z) = \int_0^\infty t^{z-1} e^{-t} \dd t , $$
for $\Re(z) > 0$, and is extended to the complex plane by analytic continuation.
§Type Parameters
T: eitherf64orComplex<f64>
§See also
gammainc: Regularized lower incomplete gamma function, $P(a,x)$gammaincc: Regularized upper incomplete gamma function, $Q(a,x)$gammaln: Natural logarithm of the absolute value of the gamma functionrgamma: Reciprocal of the gamma function, $1 \over \Gamma(z)$scipy.special.gamma: Corresponding function in SciPy
NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/5.2.E1. ↩