pub fn gammainc(a: f64, x: f64) -> f64Expand description
Regularized lower incomplete gamma function $P(a,x)$
It is defined as 1:
$$ P(a,x) = {1 \over \Gamma(a)} \int_0^x t^{a-1} e^{-t} \dd t = 1 - Q(a,x) , $$
for $a > 0$ and $x \ge 0$, with $Q(a,x)$ the regularized upper incomplete gamma function.
§Notes
Unlike scipy.special.gammainc, this wraps the gammainc Cephes routine 2
rather than the Boost gamma_p routine 3.
§See also
gammaincc: Regularized upper incomplete gamma function, $Q(a,x)$gammaincinv: Inverse of the regularized lower incomplete gamma functiongammainccinv: Inverse of the regularized upper incomplete gamma functiongamma: Gamma function $\Gamma(z)$scipy.special.gammainc: Corresponding function in SciPy
NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/8.2.E4. ↩
Cephes Math Library Release 2.0. ↩
The Boost Developers. “Boost C++ Libraries”, https://www.boost.org. ↩