Author(s): K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 07.06.1992 |
Language: Fortran | Revised: |
Function subprograms CELINT and WELINT calculate, for complex argument z=x+iy and real complementary modulus k' a general elliptic integral of the second kind:
which contains the elliptic integrals of the first and second kind as special cases:
The double-precision version WELINT is available only on computers which support a COMPLEX*16 Fortran data type.
Structure:
FUNCTION subprograms
User Entry Names: CELINT, WELINT
Files Referenced: Unit 6
External References: MTLMTR, ABEND
Usage:
In any arithmetic expression, with ,
CELINT(Z,AKP,A,B) or WELINT(Z,AKP,A,B) has the value ,
Method:
The evaluation of is based on the Gauss transformation. For details, in particular for the conformal mapping provided by , see Ref. 1.
Accuracy:
CELINT (except on CDC and Cray computers) has full single-precision accuracy. For most values of the arguments, WELINT (and CELINT on CDC and Cray computers) has an accuracy of approximately one significant digit less than the machine precision.
Error handling:
Error C348.1: Re . The function value is set equal to zero, and a message is written on Unit 6, unless subroutine MTLSET (N002) has been called.
Notes:
For other forms of the elliptic integrals see the write-up for RELI1 (C346).
The subprogram is based on the Algol60 procedure elco2 given in Ref. 1.
References: