ellipticK
- :
K =ellipticK(m)¶ Complete elliptic integral of the first kind K(m).
For each element of m,
K(m) = F(pi/2 | m) = integral from 0 to pi/2 of (1 - m*sin(theta)^2)^(-1/2) dtheta
Numeric inputs that are not symbolic objects return floating-point results (MATLAB Symbolic Math Toolbox numeric path). Real m with
m <= 1stays real;m > 1uses the complex analytic continuation. Empty,NaN/Inf, andsingleinputs preserve size / IEEE / class as in MATLAB.