HTBasic Help
×
Menu
Index

S_kn

Modified spherical Bessel function of the third kind, order n.
 
Loading        LOADSUB ALL FROM "BESMS.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNS_kn(N,X)
 
Description                
FNS_kn returns the value of the modified spherical Bessel function of the third kind and order n of x, kn(x). Kn(x) is defined for all values of x and n except x = 0, but large negative values of x or values of x near zero may cause the result to be larger in magnitude than MAXREAL, the largest value representable.
 
Errors                
FNS_kn causes an HTBasic error if its arguments are not of the types listed in the usage section, above, if x is zero, or if the result would be larger than MAXREAL.
 
kn(x)
See Also        S_in, S_imn, S_k0, S_k1
 
Note
The algorithm used computes the value of kn using a recursion from the values of k0 and k1. The computation time increases with n and the computation accuracy decreases with n.