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

  • calerf computes error functions.
  • cdfnor cumulative distribution function normal distribution
  • erfc The complementary error function.
  • erfcx scaled complementary error function.
  • erfinv inverse error function

Table Of Contents

This Page