Spherical Hankel function of the second kind, ordern+½.
Loading LOADSUB ALL FROM "BESRC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage INTEGER N
REAL X
COMPLEX C
C=FNS_hh2n(N,X)
Description
FNS_hh2nreturns the value of the spherical Hankel function of the second kind and ordern+½ ofx,hn+½(2)(x).Hn+½(2)(x) is defined for all values ofnand for all positive values ofx.
Errors
FNS_hh2ncauses 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_hh1n
Note
The algorithm used computes the value ofhn+½(2) using a recursion from the values ofh½(2) andh1½(2). The computation time increases withnand the computation accuracy decreases withn.