HTBasic Help
×
Menu
Index

S_ihn

Spherical Hankel function of the first kind, order n.
 
Loading        LOADSUB ALL FROM "BESMC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNS_ihn(N,X)
 
Description                
FNS_ihn returns the value of the modified spherical Bessel function of the first or second kind and 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 positive values of x. If n is positive or zero, in+½(x) is also defined for x = 0.
 
Errors                
FNS_ihn causes an HTBasic error if its arguments are not of the types shown in the USAGE section, above, or if x is out of the range of definition explained above.
 
in+½(x)
See Also        S_in, S_khn
 
Note
The algorithm used computes the value of in+½ using a recursion from the values of i½ and i1½. The computation time increases with n and the computation accuracy decreases with n.