erf
Error function.
Syntax
Section titled “Syntax”v = erf(x)Description
Section titled “Description”Returns (2/√π) · ∫₀ˣ exp(-t²) dt — the error function. Closely related to the standard-normal CDF: Φ(x) = 0.5 · (1 + erf(x/√2)).
Example
Section titled “Example”erf(1) % ≈ 0.8427See also
Section titled “See also”erfc— Complementary error function1 - erf(x).erfcx— Scaled complementary error functionexp(x²) · erfc(x).erfinv— Inverse error function.norm_s_dist— Standard-normal PDF or CDF.