<< dlgamma Special Functions erfc >>

Scilab help >> Special Functions > erf

erf

The error function.

Calling Sequence

y = erf(x)

Arguments

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)

See Also

Authors

W. J. Cody (code from Netlib (specfun))

<< dlgamma Special Functions erfc >>