Math387.Erf Method

function Erf(X: Double): Double;

Error function.

#NameDescription
1XX in Error function definition.

Returns: Double - the error function for given parameter X.

Remarks:

The error function is defined by the following equation:

erf(x)=2π0xexp(t2)dt\text{erf}\left(x\right)=\frac{2}{\sqrt{\pi}} \int _0 ^x \exp (-t^2) dt
See Also: Math387.Erfc, Math387.ErfInv