Spherical Bessel function of the first kind, ordern+½.
Loading LOADSUB ALL FROM "BESRC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage INTEGER N
REAL X,Y
Y=FNS_jhn(N,X)
Description
FNS_jhnreturns the value of the spherical Bessel function of the first kind and ordern+½ ofx,jn+½(x).Jn+½(x) is defined for all values ofnand for all positive values ofx. Ifnis positive or zero,jn+½(x) is also defined forx= 0.
Errors
FNS_jhncauses an HTBasic error if its arguments are not of the types shown in theUSAGEsection, above, or ifxis out of the range of definition explained above.
See Also
S_jn, S_yh1n, S_hh1n, S_hh2n, S_yhn
jn+½(x)
Note
The algorithm used computes the value ofjn+½ using a recursion from the values ofj½ andj1½. The computation time increases withnand the computation accuracy decreases withn.