Modified spherical Bessel function of the third kind, order n+½.
Loading LOADSUB ALL FROM "BESMC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage INTEGER N
REAL X,Y
Y=FNS_khn(N,X)
Description
FNS_khnreturns the value of the modified spherical Bessel function of the third kind and ordern+½ ofx,kn+½(x).Kn+½(x) is defined for all values ofnand for all positive values ofx.
Errors
FNS_khncauses an HTBasic error if its arguments are not of the types shown in the USAGE section, above, or ifxis negative or zero.
See Also
S_ihn, S_kn
kn+½(x)
Note
The algorithm used computes the value ofkn+½ using a recursion from the values ofk½ andk1½. The computation time increases withnand the computation accuracy decreases withn.