Spherical Bessel function of the second kind, ordern+½.
Loading LOADSUB ALL FROM "BESRC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage INTEGER N
REAL X,Y
Y=FNS_yh1(N,X)
Description
FNS_yhnreturns the value of the spherical Bessel function of the second kind and ordern+½ ofx,yn+½(x).Yn+½(x) is defined for all values ofnand for all positive values ofx.
Errors
FNS_yhncauses an HTBasic error if its arguments are not of the types shown in the USAGE section, above, or ifxis negative or zero.
See Also
S_jhn, S_yh1n, S_hh1n, S_hh2n, S_yhn, S_yn
yn+½(x)
Note
The algorithm used computes the value ofyn+½ using a recursion from the values ofy½ andy1½. The computation time increases withnand the computation accuracy decreases withn.