XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Sbesjn_sub()

Sub Sbesjn_sub ( Ret As  Double,
N As  Long,
X As  Double,
Optional Info As  Long 
)

Spherical Bessel function of the first kind jn(x) (Subroutine version)

Purpose
Computes the spherical Bessel functions of the first kind jn(x).
Parameters
[out]RetSpherical Bessel function of the first kind jn(x).
[in]NOrder n.
[in]XArgument x. (X >= 0)
[out]Info(Optional) = 0: Successful exit.
= -2: The argument X had an illegal value. (X < 0)
= 1: Floating point range error.
Reference
boost/math/special_functions