pub fn spherical_bessel_j(n: i32, x: f64) -> f64Expand description
Main function to calculate spherical Bessel function of the first kind
This is the main entry point that matches the C++ sphericalbesselj function
ยงPanics
Panics if x < 0 or n < 0. A negative order is not supported: it would
need the spherical Bessel function of the second kind,
j_{-n}(x) = (-1)^n y_{n-1}(x), and the library uses only n >= 0.