next up previous contents
Next: The Complimentary Error Function Up: Mathematical Functions Previous: The Cosine Function

The Error Function

Calling Sequence:
erf(x)
Parameters:
x : real

Returns: real

Synopsis: This function returns the result of the following expression: 2/sqrt $(\pi)\cdot\int_{0\ldots x} exp(-t \cdot t) dt $.

References: [11]

Examples:

> erf(3);
See also: erfc, erfcinv




Gaston Gonnet
1998-09-15