jax.scipy.special.erfinv

Contents

jax.scipy.special.erfinv#

jax.scipy.special.erfinv(x)[source]#

Inverse of the error function.

LAX-backend implementation of scipy.special.erfinv().

Original docstring below.

Computes the inverse of the error function.

In the complex domain, there is no unique complex number w satisfying erf(w)=z. This indicates a true inverse function would be multivalued. When the domain restricts to the real, -1 < x < 1, there is a unique real number satisfying erf(erfinv(x)) = x.

Returns:

erfinv – The inverse of erf of y, element-wise

Return type:

scalar or ndarray

Parameters:

x (Union[Array, ndarray, bool_, number, bool, int, float, complex])