Math387::Erf Function

double Erf(double X);

Error function.

#NameTypeDescription
1XdoubleX in Error function definition.

Returns: 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
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler