scipy.special.sph_kn

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

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

Compute spherical Bessel function kn(z) and derivative.

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

n : int

Maximum order of kn to compute

z : complex

Argument at which to evaluate

Returns:

kn : ndarray

Value of k0(z), ..., kn(z)

knp : ndarray

First derivative k0’(z), ..., kn’(z)