The modified Bessel function of the third kind (or Weber Function) is a linear combination of Bessel functions of the
first and second kinds. These are called the Hankel functions of the first and second kinds, and are one of two types
of functions known as Hankel functions. The other type of Hankel function is defined by a contour integral.
Modified Bessel function of the 2nd/3rd kind
See also Maths/Special/Bessel/Hankel
This function returns modified Bessel function of the third kind of order n of the argument.
The range is partitioned into the two intervals [0,9.55] and (9.55, infinity). An ascending power series is used in the
low range, and an asymptotic expansion in the high range.
Algorithm for Kn.
<pre>
Relative error:
arithmetic domain # trials peak rms
DEC 0,30 3000 1.3e-9 5.8e-11
IEEE 0,30 90000 1.8e-8 3.0e-10
</pre>
Error is high only near the crossover point x = 9.55 between the two expansions used.