deeptrack.backend.polynomials Module#
Bessel and Riccati-Bessel polynomials.
This module defines a set of functions for computing Bessel and Riccati-Bessel polynomials and their derivatives. It expands the corresponding capabilities of scipy.
Backend Compatibility#
All functions support both NumPy and PyTorch arrays. The NumPy path uses scipy.special directly; non-NumPy array-API inputs (e.g. PyTorch tensors) are routed through differentiable recurrence-based implementations instead.
Module Structure#
Functions:
besselj: Bessel polynomial of the 1st kind.
dbesselj: First derivative of the Bessel polynomial of the 1st kind.
bessely: Bessel polynomial of the 2nd kind.
dbessely: First derivative of the Bessel polynomial of the 2nd kind.
ricbesj: Riccati-Bessel polynomial of the 1st kind.
- dricbesj: First derivative of the Riccati-Bessel polynomial of the 1st
kind.
ricbesy: Riccati-Bessel polynomial of the 2nd kind.
- dricbesy: First derivative of the Riccati-Bessel polynomial of the 2nd
kind.
ricbesh: Riccati-Bessel polynomial of the 3rd kind.
- dricbesh: First derivative of the Riccati-Bessel polynomial of the 3rd
kind.
Functions#
|
The Bessel polynomial of the 1st kind. |
|
The Bessel polynomial of the 2nd kind. |
|
The first derivative of the Bessel polynomial of the 1st kind. |
|
The first derivative of the Bessel polynomial of the 2nd kind. |
|
The first derivative of the Riccati-Bessel polynomial of the 3rd kind. |
|
The first derivative of the Riccati-Bessel polynomial of the 1st kind. |
|
The first derivative of the Riccati-Bessel polynomial of the 2nd kind. |
|
Compute derivatives of Hankel function H1v(z) with respect to z. |
|
The Riccati-Bessel polynomial of the 3rd kind. |
|
The Riccati-Bessel polynomial of the 1st kind. |
|
The Riccati-Bessel polynomial of the 2nd kind. |