Scaled modified Bessel function of the second kind, order zero.
Loading LOADSUB ALL FROM "BESMC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage REAL X,Y
Y=FNK0e(X)
Description
FNK0ereturns the value of the modified cylindrical Bessel function of the second kind and order zero ofxscaled byex,exK0(x). AlthoughexK0(x) is defined for all positive values ofx, values ofxnear 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 ofK0(x) can be evaluated for large arguments, where the value ofK0(x) may be near zero.
Errors
FNK0ecauses an HTBasic error if its argument is not of type REAL, ifxis not positive, or if the result would be larger than MAXREAL.