SciPy

scipy.special.sph_jn

scipy.special.sph_jn(*args, **kwds)[source]

sph_jn is deprecated! scipy.special.sph_jn is deprecated in scipy 0.18.0. Use scipy.special.spherical_jn instead. Note that the new function has a different signature.

Compute spherical Bessel function jn(z) and derivative.

This function computes the value and first derivative of jn(z) for all orders up to and including n.
Parameters:

n : int

Maximum order of jn to compute

z : complex

Argument at which to evaluate

Returns:

jn : ndarray

Value of j0(z), ..., jn(z)

jnp : ndarray

First derivative j0’(z), ..., jn’(z)