Author(s): K.S. Kölbig, H.-H. Umstätter | Library: MATHLIB |
Submitter: | Submitted: 30.01.1980 |
Language: Fortran | Revised: 01.12.1994 |
Function subprograms RELFUN and DELFUN calculate, for real
argument x and real modulus k, the Jacobian elliptic functions
,
and
.
The function
is the inverse of the elliptic
integral of the first kind and is defined implicitly by
The functions and
are defined by
This definition can be extended for (Ref. 2) by means of
where .
For k = 0 and
these functions are elementary:
Note that for the Jacobian elliptic functions are periodic
(with respect to x) with period
if
and
if
, where
is the complete elliptic integral of the first kind.
On CDC and Cray computers, the double-precision version DELFUN is not available.
Structure:
SUBROUTINE subprograms
User Entry Names: RELFUN, DELFUN
Obsolete User Entry Names: ELFUN RELFUN
Usage:
For (type REAL),
(type
DOUBLE PRECISION),
CALL tELFUN(X,AK2,SN,CN,DN)
Method:
The sequence of the Gaussian arithmetic-geometric mean is used together
with the Gauss transformation and, where appropriate, the Jacobi
imaginary transformation. For values , the reciprocal
modulus transformation is performed. For details see References.
Accuracy:
RELFUN (except on CDC and Cray computers) has full single-precision accuracy. For most values of the arguments, DELFUN (and RELFUN on CDC and Cray computers) has an accuracy of approximately two significant digits less than the machine precision.
Restrictions:
,
,
where
is the complete elliptic integral of the first
kind. (See entries RELIKC and DELIKC in RELI1C (C347)).
References: