IMSL C# Numerical Library

Bessel.K Method (Double, Int32)

Evaluates a sequence of modified Bessel functions of the third kind with integer order and real argument.

public static double[] K(
   double x,
   int n
);

Parameters

x
A double representing the argument for which the sequence of Bessel functions is to be evaluated.
n
A int which specifies the order of the last element in the sequence.

Return Value

A double array of length n + 1 containing the values of the function through the series.

Remarks

This function uses e^x K_{\nu+k-1} for k = 1, \ldots, n and \nu = 0. For the definition of K_v (x), see below.

See Also

Bessel Class | Imsl.Math Namespace | Bessel.K Overload List