FUNCTION REFERENCE

ellipke

Complete elliptic integrals of the first and second kind.

Complete elliptic integrals of the first and second kind.

Syntax

K = ellipke(M)

Syntax

[K, E] = ellipke(M, tol)

Uses the arithmetic-geometric mean (DLMF 19.8), which stops when every element is within tol (default eps). M must be in [0, 1]; ellipke(1) is Inf.

Example

ellipke(0.5)   % 1.8541

Differences from MATLAB: double inputs only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.