% Compute: % complete elliptic integral of first K(m) % complete elliptic integral of second E(m) % % error: [k,e] = ellipke(m[,tol]) % % m is either real array or scalar with 0 <= m <= 1 % % tol 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