jax.scipy.special.erf

Contents

jax.scipy.special.erf#

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

The error function

JAX implementation of scipy.special.erf.

\[\mathrm{erf}(x) = \frac{2}{\sqrt\pi} \int_{0}^x e^{-t^2} \mathrm{d}t\]
Parameters:

x (jax.typing.ArrayLike) – arraylike, real-valued.

Returns:

array containing values of the error function.

Return type:

Array

Notes

The JAX version only supports real-valued inputs.