Is there a simple way to calculate the generalized associated Legendre polynomials in Python (
I know that you can get the associated Legendre Polynomials using SciPy or pyshtools (article), but not the generalized ones (having two raised indices).
CodePudding user response:
The best way I found to implement the derivative is to use the grad-functionality of jax: https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html
Good luck :)