Next: erfc, Previous: erase, Up: Internal Routines [Contents][Index]
erf(x)
Returns the value of the error function at ordinate x
,
which is the integral of 2*exp(-y^2)/sqrt(#pi)
for
y
between minus infinity and x
. Ranges
between -1
and +1
. The chance of exceeding value
v
when drawing from a standard normal distribution is
0.5 - 0.5*erf(v/sqrt(2))
.
See also: erfc