Next: erfc, Previous: erase, Up: Internal Routines [Contents][Index]

`erf(`

`x`)

Returns the value of the error function at ordinate

,
which is the integral of `x``2*exp(-`

for
`y`^2)/sqrt(#pi)

between minus infinity and `y`

. Ranges
between `x``-1`

and `+1`

. The chance of exceeding value

when drawing from a standard normal distribution is
`v``0.5 - 0.5*erf(`

.
`v`/sqrt(2))

See also: erfc