function erf

Returns the error function of X.

Syntax
result = erf(X)

Arguments
X:   A real number.