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 have multi-value. When the domain restricts to the real, -1 < x < 1, there is a unique real number satisfying erf(erfinv(x)) = x.


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

Return type

scalar or ndarray


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