The error function.
y = erf(x)
real vector or matrix
real vector or matrix (of same size than x)
erf computes the error function:
erf
deff('y=f(t)','y=exp(-t^2)'); erf(0.5)-2/sqrt(%pi)*intg(0,0.5,f)
W. J. Cody (code from Netlib (specfun))