IMSL_ELE

The IMSL_ELE function evaluates the complete elliptic integral of the second kind E(x).

This routine requires an IDL Advanced Math and Stats license. For more information, contact your sales or technical support representative.

The complete elliptic integral of the second kind is defined to be:

The argument x must satisfy 0 ≤ x < 1; otherwise, IMSL_ELE returns the largest representable floating-point number.

The function E(x) is computed using the routine IMSL_ELRF and IMSL_ELRD. The computation is done using the relation:

Example

The integral E(0.33) is evaluated.

PRINT, IMSL_ELE(0.33)

1.43183

Syntax

Result = IMSL_ELE(X [, /DOUBLE]

Return Value

The complete elliptic integral E(x).

Arguments

X

Argument for which the function value is desired.

Keywords

DOUBLE (optional)

If present and nonzero, double precision is used.

Version History

6.4

Introduced

See Also

IMSL_ELRD, IMSL_ELRF