Skip to main content

elliptic_pi

Function elliptic_pi 

Source
pub fn elliptic_pi(phi: f64, n: f64, k: f64) -> f64
Expand description

The incomplete elliptic integral of the third kind Π(φ, n, k) = ∫₀^φ dθ / ((1 − n sin²θ) √(1 − k² sin²θ)).

Requires 1 − n sin²θ > 0 over the range of integration (principal value cases are not supported and return NaN).