Skip to main content

gammaincinv

Function gammaincinv 

Source
pub fn gammaincinv(a: f64, p: f64) -> f64
Expand description

Inverse of gammainc

Given an input $p \in [0, 1]$, returns $x$ such that $p = P(a,x)$. Here, $P$ is the regularized lower incomplete gamma function; see gammainc. This is well-defined because the lower incomplete gamma function is monotonic 1.

§See also

  • gammainc: Regularized lower incomplete gamma function, $P(a,x)$
  • gammaincc: Regularized upper incomplete gamma function, $Q(a,x)$
  • gammainccinv: Inverse of the regularized upper incomplete gamma function
  • gamma: Gamma function $\Gamma(z)$
  • scipy.special.gammaincinv: Corresponding function in SciPy

  1. NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/8.2.E4. ↩