| a | p | gammaIncompleteComplInverse(a, p) |
|---|---|---|
| negative | NaN | |
| < 0 | NaN | |
| ≥ 1 | NaN | |
| +0 | < 1 | NaN |
| ∞ | ≥ 0 | NaN |
| ≥ 0 | 0 | ∞ |
| < ∞ | 1 | 0 |
gammaIncompleteComplInverse
fn
real gammaIncompleteComplInverse(real a, real p) pure nothrow @safe @nogcInverse regularized upper incomplete gamma function Q-1(a,p) with respect to p
Given a and p, the function finds x such that p = Q(a,x).
Parameters
a | the shape parameter, must be positive |
p | Q(a,x), must be in the interval [0,1] |
Returns
It returns x, a value ≥ 0