Skip to main content

elliptic_e

Function elliptic_e 

Source
pub fn elliptic_e(k: f64) -> f64
Expand description

Complete elliptic integral of the second kind E(k).

Computed via a variant of the AGM iteration.

E(k) = ∫_0^{π/2} √(1 − k²·sin²θ) dθ

§Arguments

  • k - elliptic modulus, 0 ≤ k < 1

§Returns

Value of E(k).