Skip to main content

Module elliptic_integrals

Module elliptic_integrals 

Source
Expand description

Elliptic integrals, computed through Carlson’s symmetric forms.

All Legendre-form functions take the modulus k (so the parameter is m = k²) and the amplitude phi in radians.

See the book entry Elliptic integrals and Jacobian elliptic functions.

Functions§

carlson_rc
Carlson’s degenerate integral R_C(x, y), for x >= 0, y != 0.
carlson_rd
Carlson’s elliptic integral of the second kind R_D(x, y, z), for x, y >= 0 (not both zero) and z > 0.
carlson_rf
Carlson’s elliptic integral of the first kind R_F(x, y, z), for non-negative arguments with at most one equal to zero.
carlson_rj
Carlson’s elliptic integral of the third kind R_J(x, y, z, p), for x, y, z >= 0 (at most one zero) and p > 0.
elliptic_e
The incomplete elliptic integral of the second kind E(φ, k) = ∫₀^φ √(1 − k² sin²θ) dθ.
elliptic_f
The incomplete elliptic integral of the first kind F(φ, k) = ∫₀^φ dθ / √(1 − k² sin²θ).
elliptic_integral
The complete elliptic integral of the first kind K(k) = ∫₀^{π/2} dθ / √(1 − k² sin²θ), for |k| <= 1 (+inf at |k| = 1, NaN beyond).
elliptic_integral_second
The complete elliptic integral of the second kind E(k) = ∫₀^{π/2} √(1 − k² sin²θ) dθ, for |k| <= 1.
elliptic_integral_third
The complete elliptic integral of the third kind Π(n, k) = ∫₀^{π/2} dθ / ((1 − n sin²θ) √(1 − k² sin²θ)), for n < 1 and |k| < 1.
elliptic_pi
The incomplete elliptic integral of the third kind Π(φ, n, k) = ∫₀^φ dθ / ((1 − n sin²θ) √(1 − k² sin²θ)).