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

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

Parameters

x
Type: SystemDouble
A double value.

Return Value

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

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

{\rm{erfc}}\left( x \right) = {2 \over 
            {\sqrt \pi  }}\int_x^\infty  {e^{ - t^2 } } dt

The argument x must not be so large that the result underflows. Approximately, x should be less than

{\left[ -ln \left( {\sqrt {\pi}}s 
            \right) \right]}^{1/2}

where s = Double.Epsilon is the smallest representable positive floating-point number.

Plot of Erfc(x)

See Also

Reference

Other Resources