jax.scipy.special.erf

Contents

jax.scipy.special.erf#

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

Returns the error function of complex argument.

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

Note that the JAX version does not support complex inputs.

Original docstring below.

It is defined as 2/sqrt(pi)*integral(exp(-t**2), t=0..z).

Parameters:

x (ndarray) – Input array.

Returns:

res – The values of the error function at the given points x.

Return type:

scalar or ndarray

References