pub fn gammaincc(a: f64, x: f64) -> f64Expand description
Regularized upper incomplete gamma function $Q(a,x)$
It is defined as 1:
$$ Q(a,x) = {1 \over \Gamma(a)} \int_x^\infty t^{a-1} e^{-t} \dd t = 1 - P(a,x) , $$
for $a > 0$ and $x \ge 0$, with $P(a,x)$ the regularized lower incomplete gamma function.
§Notes
Unlike scipy.special.gammaincc, this wraps the gammaincc Cephes routine 2
rather than the Boost gamma_q routine 3.
§See also
gammainc: Regularized lower incomplete gamma function, $P(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.gammaincc: 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. ↩