pub fn erf<T: ErfArg>(z: T) -> TExpand description
Error function $\erf(z)$ for real or complex input
This function is defined as 1:
$$ \erf(z) = {2 \over \sqrt\pi} \int_0^z e^{-t^2} \dd t . $$
Corresponds to scipy.special.erf.
§See also
erfc: Complementary error functionerfi: Imaginary error functionerfinv: Inverse error functionerf_zeros: Zeros of the error function
NIST Digital Library of Mathematical Functions, https://dlmf.nist.gov/7.2.E1. ↩