IMSL_ELE

Syntax | Return Value | Arguments | Keywords | Discussion | Example | Version History

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

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

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

If present and nonzero, double precision is used.

Discussion

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

IMSL_ELE-32.jpg

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:

IMSL_ELE-33.jpg

Example

The integral E(0.33) is evaluated.

PRINT, IMSL_ELE(0.33) 
      1.43183  

Version History

6.4

Introduced