IMSL Mathematics Reference Guide > Special Functions > ELK Function (PV-WAVE Advantage)
  

ELK Function (PV-WAVE Advantage)
Evaluates the complete elliptic integral of the kind K(x).
Usage
result = ELK(x)
Input Parameters
x—Argument for which the function value is desired.
Returned Value
result —The complete elliptic integral K(x).
Input Keywords
Double—If present and nonzero, double precision is used.
Discussion
The complete elliptic integral of the first kind is defined to be:
The argument x must satisfy 0 x < 1; otherwise, ELK returns the largest representable floating-point number.
The function K(x) is computed using the ELRF Function (PV-WAVE Advantage) and the relation K(x) = RF(0, 1 x, 1).
Example
The integral K(0) is evaluated.
PRINT, ELK(0.0)
; PV-WAVE prints: 1.57080

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.