Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orthogonal Polynomials #80152

Open
12 of 17 tasks
0x00b1 opened this issue Jun 23, 2022 · 0 comments
Open
12 of 17 tasks

Orthogonal Polynomials #80152

0x00b1 opened this issue Jun 23, 2022 · 0 comments
Labels
feature A request for a proper, new feature. module: special Functions with no exact solutions, analogous to those in scipy.special triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@0x00b1
Copy link
Contributor

0x00b1 commented Jun 23, 2022

Orthogonal Polynomials

A brief proposal for providing a complete suite of orthogonal polynomials as PyTorch operators. Enjoy!

One of a five-part series of special functions issues:

API

Chebyshev Polynomials

  • chebyshev_polynomial_t(input: Tensor, n, *, out=None) → Tensor

Chebyshev polynomial of the first kind $T_{n}\left(\text{input}\right)$.

  • chebyshev_polynomial_u(input: Tensor, n, *, out=None) → Tensor

Chebyshev polynomial of the first kind $U_{n}\left(\text{input}\right)$.

  • chebyshev_polynomial_v(input: Tensor, n, *, out=None) → Tensor

Chebyshev polynomial of the first kind $V_{n}\left(\text{input}\right)$.

  • chebyshev_polynomial_w(input: Tensor, n, *, out=None) → Tensor

Chebyshev polynomial of the first kind $W_{n}\left(\text{input}\right)$.

Shifted Chebyshev Polynomials

  • shifted_chebyshev_polynomial_t(input: Tensor, n, *, out=None) → Tensor

Shifted Chebyshev polynomial of the first kind $T_{n}^{\ast}\left(\text{input}\right)$.

  • shifted_chebyshev_polynomial_u(input: Tensor, n, *, out=None) → Tensor

Shifted Chebyshev polynomial of the first kind $U_{n}^{\ast}\left(\text{input}\right)$.

  • shifted_chebyshev_polynomial_v(input: Tensor, n, *, out=None) → Tensor

Shifted Chebyshev polynomial of the first kind $V_{n}^{\ast}\left(\text{input}\right)$.

  • shifted_chebyshev_polynomial_w(input: Tensor, n, *, out=None) → Tensor

Shifted Chebyshev polynomial of the first kind $W_{n}^{\ast}\left(\text{input}\right)$.

Hermite Polynomials

  • hermite_polynomial_h(input: Tensor, n, *, out=None) → Tensor

Physicist’s Hermite polynomial $H_{n}\left(\text{input}\right)$.

  • hermite_polynomial_he(input: Tensor, n, *, out=None) → Tensor

Probabilist’s Hermite polynomial $He_{n}\left(\text{input}\right)$.

Charlier Polynomials

  • charlier_polynomial_c(input: Tensor, a, n, *, out=None) → Tensor

Gegenbauer Polynomials

  • gegenbauer_polynomial_c(input: Tensor, m, n, *, out=None) → Tensor

Gegenbauer polynomial $C_{n}\left(\text{input}\right)$.

Jacobi Polynomials

  • jacobi_polynomial_p(input: Tensor, a, b, n, *, out=None) → Tensor

Jacobi polynomial $P_{n}\left(\text{input}\right)$.

Laguerre Polynomials

  • generalized_laguerre_polynomial_l(input: Tensor, a, n, *, out=None) → Tensor

  • laguerre_polynomial_l(input: Tensor, n, *, out=None) → Tensor

Legendre Polynomials

  • legendre_polynomial_p(input: Tensor, n, *, out=None) → Tensor

Legendre polynomial $P_{n}\left(\text{input}\right)$.

Shifted Legendre Polynomials

  • shifted_legendre_polynomial_p(input: Tensor, n, *, out=None) → Tensor

Shifted Legendre polynomial $P_{n}^{\ast}\left(\text{input}\right)$.

@0x00b1 0x00b1 added feature A request for a proper, new feature. module: special Functions with no exact solutions, analogous to those in scipy.special triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A request for a proper, new feature. module: special Functions with no exact solutions, analogous to those in scipy.special triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

1 participant