************80
! COMELP computes complete elliptic integrals K(k) and E(k).
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:
07 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 ) HK, the modulus. 0 <= HK <= 1.
Output, real ( kind = 8 ) CK, CE, the values of K(HK) and E(HK).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=8) | :: | hk | ||||
real(kind=8) | :: | ck | ||||
real(kind=8) | :: | ce |