pymiediff.special

pymiediff.special#

auto-diff ready wrapper of scipy spherical Bessel functions

Functions

bessel2ndDer(n, z, bessel)

returns the secound derivative of a given bessel function

chi(n, z, **kwargs)

Riccati-Bessel Function of the secound kind

chi_torch(n, z, **kwargs)

Riccati-Bessel Function of the secound kind

f_der_torch(n, z, f_n, **kwargs)

eval.

pi_tau(n, mu)

angular functions tau and pi up to order n

psi(n, z, **kwargs)

Riccati-Bessel Function of the first kind

psi_torch(n, z, **kwargs)

Riccati-Bessel Function of the first kind

sph_h1n(n, z)

spherical Hankel function of first kind

sph_h1n_der(n, z)

derivative of spherical Hankel function of first kind

sph_h1n_torch(n, z, **kwargs)

spherical Hankel function of first kind

sph_jn(n, z)

spherical Bessel function of first kind

sph_jn_der(n, z)

derivative of spherical Bessel function of first kind

sph_jn_torch(n, z[, n_add, max_n_add, ...])

Vectorized spherical Bessel of the first kind via continued-fraction ratios.

sph_jn_torch_via_rec(n, z[, n_add, eps])

Vectorized spherical Bessel of the first kind via downward recurrence

sph_yn(n, z)

spherical Bessel function of second kind

sph_yn_der(n, z)

derivative of spherical Bessel function of second kind

sph_yn_torch(n, z[, eps])

Vectorized spherical Bessel of the first kind via updward recurrence

xi(n, z, **kwargs)

Riccati-Bessel Function of the third kind

xi_torch(n, z, **kwargs)

Riccati-Bessel Function of the third kind