jax.scipy.special.erfcinv

Contents

jax.scipy.special.erfcinv#

jax.scipy.special.erfcinv(y)[source]#

The inverse of the complementary error function.

JAX implementation of scipy.special.erfcinv.

Returns the inverse of erfc() on (0, 2).

Parameters:

y (ArrayLike) – arraylike, real-valued.

Returns:

array containing values of the inverse complementary error function.

Return type:

Array

Notes

The JAX version only supports real-valued inputs.

Numerical Precision:

For accuracy bounds, see Numerical accuracy.

Examples

>>> y = jnp.array([0.0, 0.5, 1.0, 1.5, 2.0])
>>> jax.scipy.special.erfcinv(y)
Array([        inf,  0.47693628,  0.        , -0.47693628,        -inf], dtype=float32)