Returns the complementary error function of a double.
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Erfc( double x ) |
Visual Basic (Declaration) |
---|
Public Shared Function Erfc ( _ x As Double _ ) As Double |
Visual C++ |
---|
public: static double Erfc( double x ) |
Parameters
- x
- Type: System..::.Double
A double value.
Return Value
A double value specifying the complementary error function of x.
Remarks
The complementary error function method, Erfc (x), is defined to be

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}](eqn/eqn_1602.png)
where s = Double.Epsilon is the smallest representable positive floating-point number.