kelvin_ker0

Evaluates the Kelvin function of the second kind, ker, of order zero.

Synopsis

#include <imsl.h>

float imsl_f_kelvin_ker0 (float x)

The type double function is imsl_d_kelvin_ker0.

Required Arguments

float x (Input)
Argument for which the function value is desired.

Return Value

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

Description

The modified Kelvin function ker0(x) is defined to be K0(xeπ/4). The Bessel function K0(x) is defined

 

The function imsl_f_kelvin_ker0 is based on the work of Burgoyne (1963). If x < 0, NaN (Not a Number) is returned. If x  119, then zero is returned.

Example

In this example, ker0(0.4) is evaluated.

 

#include <imsl.h>

#include <stdio.h>

 

int main()

{

float x = 0.4;

float ans;

 

x = imsl_f_kelvin_ker0 (x);

printf ("ker0(0.4) = %f\n", x);

}

Output

 

ker0(0.4) = 1.062624