HTBasic Help
×
Menu
Index

S_in

Modified spherical Bessel function of the first and second kinds and order n.
 
Loading        LOADSUB ALL FROM "BESMS.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNS_in(N,X)
 
Description                
FNS_in returns the value of the modified spherical Bessel function of order n of x, in(x). The function is called a function of the first kind if n is positive and a function of the second kind if n is negative. In(x) is defined for all values of n and for all values of x, but large absolute values of x may cause the result to be larger in magnitude than MAXREAL, the largest value representable.
 
Errors                
FNS_in causes an HTBasic error if its arguments are not of the types listed in the USAGE section, above, or if the result would be larger than MAXREAL.
 
in(x)
See Also        S_i0, S_i1, S_ihn, S_kn
 
Note
The algorithm used computes the value of in using a recursion from the values of i0 and i1. The computation time increases with n and the computation accuracy decreases with n.