Function File: [k, e] = ellipke (m[,tol])
Compute complete elliptic integral of first K(m) and second E(m).
m is either real array or scalar with 0 <= m <= 1
tol will be ignored (Matlab uses this to allow faster, less accurate approximation)
Ref: Abramowitz, Milton and Stegun, Irene A. Handbook of Mathematical Functions, Dover, 1965, Chapter 17.
See also: ellipj
Package: specfun