Click or drag to resize
SfunErf Method
Returns the error function of a double.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Erf(
	double x
)

Parameters

x
Type: SystemDouble
A double value.

Return Value

Type: Double
A double value specifying the error function of x.
Remarks

The error function method, Erf(x), is defined to be

{\rm{erf}}\left( x \right) 
            = {2 \over {\sqrt \pi  }}\int_0^x {e^{ - t^2 } } dt

All values of x are legal.

Plot of Erf(x)

See Also

Reference

Other Resources