Compute the error function.
The error function is defined as
z
2 /
erf (z) = --------- * |e^(-t^2) dt
sqrt (pi) /
t=0
See also: erfc, erfcx, erfi, dawson, erfinv, erfcinv.
Package: octave