Returns the exponentially scaled complementary error function.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

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

Parameters

x
Type: System..::.Double
A double value for which the function value is desired.

Return Value

A double value specifying the exponentially scaled complementary error function of x.

Remarks

The exponentially scaled complementary error function is defined as

e^{x^{2}}\textup{erfc}(x)

where erfc(x) is the complementary error function. See Erfc for its definition.

To prevent the answer from underflowing, x must be greater than

x_{\textup{min}}\simeq-\sqrt{\ln(b/2)} =
            -26.618735713751487

where b = Double.MaxValueM is the largest representable double precision number.

See Also