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