IMSL Mathematics Reference Guide > Special Functions > ERFCE Function (PV-WAVE Advantage)
  

ERFCE Function (PV-WAVE Advantage)
Evaluates the exponentially scaled complementary error function.
Usage
result = ERFCE(x)
Input Parameters
x—Argument for which the function value is desired. This value must be a float or double scalar or a 1D array.
Return Value
result—Scalar or 1D array containing the exponentially scaled complementary error function values.
Input Keywords
Double—If present and nonzero, double precision is used.
Description
Function ERFCE computes:
where ERFC(x) is the complementary error function. See the ERFC Function for its definition.
To prevent the answer from underflowing, x must be greater than:
where b is the largest representable floating-point number. To get this value, refer to the MACHINE Function in Utilities of the PV‑WAVE IMSL Mathematics Reference.
Example
In this example, we evaluate the exponentially scaled complementary error function at x=1.0.
result = ERFCE(1.0)
 
PRINT, "The exponentially scaled complementary error " + $
   "function value at 1.0 is:"
PRINT, result, Format='(F6.3)'
Output
The exponentially scaled complementary error function value at 1.0 is:
 0.428

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.