elit3 Subroutine

public subroutine elit3(phi, hk, c, el3)

************80

! ELIT3 computes the elliptic integral of the third kind.

Discussion:

Gauss-Legendre quadrature is used.

Licensing:

This routine is copyrighted by Shanjie Zhang and Jianming Jin.  However, 
they give permission to incorporate this routine into a user program 
provided that the copyright is acknowledged.

Modified:

14 July 2012

Author:

Shanjie Zhang, Jianming Jin

Reference:

Shanjie Zhang, Jianming Jin,
Computation of Special Functions,
Wiley, 1996,
ISBN: 0-471-11963-6,
LC: QA351.C45.

Parameters:

Input, real ( kind = 8 ) PHI, the argument in degrees.

Input, real ( kind = 8 ) HK, the modulus, between 0 and 1.

Input, real ( kind = 8 ) C, the parameter, between 0 and 1.

Output, real ( kind = 8 ) EL3, the value of the elliptic integral
of the third kind.

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: phi
real(kind=8) :: hk
real(kind=8) :: c
real(kind=8) :: el3