Computes the complementary error function.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static double Erfc(
	double x
)
Public Shared Function Erfc ( _
	x As Double _
) As Double
public:
static double Erfc(
	double x
)

Parameters

x
Double
The argument.

Return Value

The value of erfc(x) = 1 - erf(x).

Remarks

The complementary error function can be used to express the area in the tails of a Bell curve beyond a given distance from its center.

It can be defined via an integral as erfc(x) = (2/√π) xdt e-t2.

For small values of x, erfc(x) ≈ 1 to within floating-point accuracy. To obtain accurate values of erfc(x) = 1 - erf(x) in this region, use the Erf(Double) function.

See Also