XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Sbesjn()

Function Sbesjn ( N As  Long,
X As  Double,
Optional Info As  Long 
)

Spherical Bessel function of the first kind jn(x)

Purpose
This routine computes the spherical Bessel functions of the first kind jn(x).
Returns
Double
Spherical Bessel function of the first kind jn(x).
Parameters
[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.