Function elliptic_k
Source pub fn elliptic_k(k: f64) -> f64
Expand description
Complete elliptic integral of the first kind K(k).
Computed via the arithmetic-geometric mean (AGM) iteration.
K(k) = ∫_0^{π/2} dθ / √(1 − k²·sin²θ)
§Arguments
k - elliptic modulus, 0 ≤ k < 1
§Returns
Value of K(k).