AdvancedMathEllipticE(Double) Method

Computes the complete elliptic integral of the second kind.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double EllipticE(
	double k
)

Parameters

k  Double
The elliptic modulus, which must lie between zero and one.

Return Value

Double
The value of the Legendre integral E(k).

Remarks

E(k) is defined as the complete elliptic integral:

It appears in the Legendre reduction of integrals of rational funtions.

The perimeter of an ellipse with major axis a and eccentricity e is 4 a E(e).

Be aware that some authors use the the parameter m = k2 instead of the modulus k.

Exceptions

ArgumentOutOfRangeExceptionk lies outside [0, 1].

See Also