<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/math/special.py#L1615-L1640) |

Computes the inverse to [`tf.math.igammac`](https://www.tensorflow.org/api_docs/python/tf/math/igammac) with respect to `p`.

    tfp.math.igammacinv(
        a, p, name=None
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [TFP Release Notes notebook (0.13.0)](https://www.tensorflow.org/probability/examples/TFP_Release_Notebook_0_13_0) |

This function is defined as the solution `x` to the equation
`p = tf.math.igammac(a, x)`.

# References

\[1\] A. Didonato and A. Morris,
Computation of the Incomplete Gamma Function Ratios and their Inverse
<https://dl.acm.org/doi/10.1145/22721.23109>

<br />

<br />

<br />

| ## Args ||
|---|---|
| `a` | A positive `float` `Tensor`. Must be broadcastable with `p`. |
| `p` | A `float` `Tensor` whose entries lie in `[0, 1]`. Must be broadcastable with `a`. |
| `name` | Optional Python `str` naming the operation. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| `igammacinv` | igammacinv(a, p). Has same type as `a`. |

<br />