Compute Ricatti-Bessel function of the second kind and its derivative.
The Ricatti-Bessel function of the second kind is defined as \(x y_n(x)\), where \(y_n\) is the spherical Bessel function of the second kind of order \(n\).
This function computes the value and first derivative of the function for all orders up to and including n.
Maximum order of function to compute
Argument at which to evaluate
Value of y0(x), …, yn(x)
First derivative y0’(x), …, yn’(x)
The computation is carried out via ascending recurrence, using the relation DLMF 10.51.1 .
Wrapper for a Fortran routine created by Shanjie Zhang and Jianming Jin .