naginterfaces.library.specfun.ellipint_​complete_​2

naginterfaces.library.specfun.ellipint_complete_2(dm)[source]

ellipint_complete_2 returns a value of the classical (Legendre) form of the complete elliptic integral of the second kind.

For full information please refer to the NAG Library document for s21bj

https://www.nag.com/numeric/nl/nagdoc_28.5/flhtml/s/s21bjf.html

Parameters
dmfloat

The argument of the function.

Returns
efloat

The value of the classical (Legendre) form of the complete elliptic integral of the second kind.

Raises
NagValueError
(errno )

On entry, ; the integral is undefined.

Constraint: .

Notes

ellipint_complete_2 calculates an approximation to the integral

where .

The integral is computed using the symmetrised elliptic integrals of Carlson (Carlson (1979) and Carlson (1988)). The relevant identity is

where is the Carlson symmetrised incomplete elliptic integral of the first kind (see ellipint_symm_1()) and is the Carlson symmetrised incomplete elliptic integral of the second kind (see ellipint_symm_2()).

References

NIST Digital Library of Mathematical Functions

Carlson, B C, 1979, Computing elliptic integrals by duplication, Numerische Mathematik (33), 1–16

Carlson, B C, 1988, A table of elliptic integrals of the third kind, Math. Comput. (51), 267–280