ModBessel2nd

Advanced Analysis Library Only

double ModBessel2nd (int n, double x);

Purpose

Computes the modified Bessel function Kr = K(r,x) of the second kind of integer order r. The modified Bessel function of the second kind of order r is defined as follows:

which is a solution of the following differential equation:

For any integer value of order n, the function is defined for nonnegative real values of x.

Parameters

Input
Name Type Description
n integer The order of the function.
x double-precision The point at which the Bessel function is evaluated.

Return Value

Name Type Description
result double-precision The value of the Bessel function evaluated at x.