-
I am getting infinite overflows when computing Legendre polynomials of high order:
```matlab
>> [data, dataD] = associated_legendre(360, 0.0, 'none');
>> data(150, 150)
ans = -1.2553e+304
>> d…
-
### Describe your issue.
~~ellipeinc and ellipkinc are broken.~~ Please either a) extend the domain of the Legendre elliptic integrals to include $1 < m < \frac{1}{\sin^2\phi}$ or b) document that …
-
In module `mpmath`, Legendre functions of first and second kind are provided with `legenp` and `legenq`, they are callable with non-integer argument:
```
>>> legenp(2.2,1.1,0.1)
0.316775546015185
…
-
`scipy.special.legendre` appears to give incorrect result for degrees higher than 3. Basic rules are:
* odd-degree Legendre polynomial should have only odd coefficients
* even-degree Legendre p…
-
```julia
using SpeedyWeather
function SpeedyTransforms.transform_simple!( # SPECTRAL TO GRID
grids::FullGaussianArray, # gridded output
specs::LowerTriangularArray, …
-
I have been looking for a function that does something similar to that of scipy's `scipy.special.eval_legendre` function. I dont know the math well but I have been told that the function that is suppo…
-
When?
- If using (tensor product) Gauss-Legendre points,
- or if using Lobatto-Gauss-Legendre points with permission to lump (#348).
This is related to #349, but for the inverse operator.
Samp…
-
Associated Legendre polynomials are requested
https://en.wikipedia.org/wiki/Associated_Legendre_polynomials
-
### Description
There is a wrong output of `jax.scipy.special.sph_harm(m, n, theta, phi, n_max=None)`, when the degree of the harmonic $n \neq 0$.
Here is an example:
```
import jax
import jax.n…
-
### Describe your issue.
The Gauss-Legendre weights generated by scipy are inaccurate. A comparison to SymPy's analytic roots shows that while the accuracy is good for small numbers of nodes, the d…