public static double EllipticK(
double k
)Public Shared Function EllipticK (
k As Double
) As Doublepublic:
static double EllipticK(
double k
)static member EllipticK :
k : float -> float K(k) is defined as the complete elliptic integral:

It appears in the Legendre reduction of integrals of rational funtions.
Be aware that some authors use the the parameter m = k2 instead of the modulus k.
| ArgumentOutOfRangeException | k lies outside [0, 1]. |