HTBasic Help
×
Menu
Index

Kne

Scaled modified Bessel function of the second kind, order n.
 
Loading        LOADSUB ALL FROM "BESMC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNKne(N,X)
 
Description                
FNKne returns the value of the modified cylindrical Bessel function of the second kind and order n of x scaled by ex, exKn(x). Although exKn(x) is defined for all positive values of x, values of x near zero may cause the absolute value of the result to be larger than MAXREAL, the largest value representable. The scaling is done so that the value of Kn(x) can be evaluated for arguments of large absolute value, where the value of Kn(x) may be near zero.
 
Errors                
FNKne causes an HTBasic error if its arguments are not of the types listed in the USAGE section, above, if x is not positive, or if the result would be larger than MAXREAL.
 
exKn(x)
See Also        I0e, In, K0e, K1e, Kn
 
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.