Function rgsl::elliptic::legendre::incomplete::ellint_P [] [src]

pub fn ellint_P(phi: f64, k: f64, n: f64, mode: Mode) -> f64

This routine computes the incomplete elliptic integral \Pi(\phi,k,n) to the accuracy specified by the mode variable mode. Note that Abramowitz & Stegun define this function in terms of the parameters m = k2 and \sin2(\alpha) = k2, with the change of sign n \to -n.