This function evaluates the inverse error function.
ERFI — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Specific: The specific interface names are S_ERFI and D_ERFI.
Double: The double precision function name is DERFI.
Function ERFI(X) computes the inverse of the error function erf x, defined in ERF.
The function ERFI(X) is defined for |x| < 1. If xmax< |x| < 1, then the answer will be less accurate than half precision. Very approximately,
where ε = AMACH(4) is the machine precision.
3 2 Result of ERFI(X) is accurate to less than one-half precision because the absolute value of the argument is too large .
In this example, erf−1(erf(1.0)) is computed and printed.
99999 FORMAT (' ERFI(', F6.3, ') = ', F6.3)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |