Package de.labathome
Class CompleteEllipticIntegral
- java.lang.Object
-
- de.labathome.CompleteEllipticIntegral
-
public class CompleteEllipticIntegral extends Object
Complete Elliptic Integral introduced by R. Bulirsch (1969). These routines are based on a set of three articles: * https://doi.org/10.1007/BF01397975 (Part I) * https://doi.org/10.1007/BF01436529 (Part II) * https://doi.org/10.1007/BF02165405 (Part III)
-
-
Constructor Summary
Constructors Constructor Description CompleteEllipticIntegral()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublecel(double k_c, double p, double a, double b)Compute the complete elliptic integral introduced in "Numerical Calculation of Elliptic Integrals and Elliptic Functions.
-
-
-
Method Detail
-
cel
public static double cel(double k_c, double p, double a, double b)Compute the complete elliptic integral introduced in "Numerical Calculation of Elliptic Integrals and Elliptic Functions. III" by R. Bulirsch in "Numerische Mathematik" 13, 305-315 (1969): cel(k_c, p, a, b) = \int_0^{\pi/2} \frac{a \cos^2{\varphi} + b \sin^2{\varphi}} { \cos^2{\varphi} + p \sin^2{\varphi}} \frac{\mathrm{d}\varphi} {\sqrt{\cos^2{\varphi} + k_c^2 \sin^2{\varphi}}}- Parameters:
k_c- parameter k_c of cel(); absolute value must not be 0p- parameter p of cel()a- parameter a of cel()b- parameter b of cel()- Returns:
- the value of cel(k_c, p, a, b)
-
-