Author(s): K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 07.12.1970 |
Language: Fortran | Revised: 15.03.1993 |
Function subprograms CWERF and WWERF calculate the complex error function
for complex arguments z, where .
The double-precision version WWERF is available only on computers which support a COMPLEX*16 Fortran data type.
Structure:
FUNCTION subprograms
User Entry Names: CWERF, WWERF
Usage:
In any arithmetic expression,
CWERF(Z) or WWERF(Z) has the value ,
Method:
The method is described in Ref. 2.
Accuracy:
CWERF (except on CDC and Cray computers) has full single-precision accuracy. For most values of the argument Z, WWERF (and CWERF on CDC and Cray computers) has an accuracy of approximately two significant digits less than the machine precision.
Notes:
This subprogram is a modified version of the algorithm presented in Ref. 1.
References: