IMSL_KELVIN_KER0

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

The KELVIN_KERO function evaluates the Kelvin function of the second kind, ker, of order zero.

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_KELVIN_KER0(x [, DERIVATIVE=value] [, /DOUBLE])

Return Value

The value of the Kelvin function of the second kind, ker, of order zero evaluated at x.

Arguments

x

Argument for which the function value is desired.

Keywords

DERIVATIVE

If present and nonzero, then the derivative of the Kelvin function of the second kind, ker, of order zero evaluated at x is computed.

DOUBLE

If present and nonzero, double precision is used.

Discussion

The modified Kelvin function ker0(x) is defined to be ¬K0(xepi/4). The Bessel function K0(x) is defined:

IMSL_KELVIN_KER0-49.jpg

If the keyword DERIVATIVE is set, the function ker0(x) is defined to be:

IMSL_KELVIN_KER0-50.jpg

If x < 0, NaN (Not a Number) is returned. If x 119, then zero is returned.

The IMSL_KELVIN_KER0 function is based on the work of Burgoyne (1963).

Example

In this example, ker0(0.4) and ker0(0.6) are evaluated.

PRINT, IMSL_KELVIN_KER0(0.4) 
      1.06262 
PRINT, IMSL_KELVIN_KER0(0.6, /DERIVATIVE) 
     -1.45654 

Version History

6.4

Introduced