ellipke
ellipke(m)
Input: m · Output: no output
What it is
Complete elliptic integrals of the first and second kind with parameter m = k², returned as a record {K, E} shaped like m (number, Vec or Mat): ellipke(0) has K = E = pi/2, ellipke(0.5) has K = 1.8540746773013719 and E = 1.3506438810476755. Computed with the arithmetic-geometric mean; against mpmath the worst relative error is 5e-15 over m from -100 to 0.999999, so negative m and m close to 1 are covered. m = 1 gives K = inf, E = 1; m > 1 or NaN give NaN. Complex input is an error.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
ellipke(m) | m number, Vec, Mat, or Complexnot documented yet | not documented yet | Complex input is an error. |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.