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