mlx.core.erf# mlx.core.erf(a: array, /, *, stream: Union[None, Stream, Device] = None) → array# Element-wise error function. \[\mathrm{erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} \, dt\] Parameters: a (array) – Input array. Returns: The error function of a. Return type: array