-
```
In [22]: laguerre(2, x) # yes
Out[22]: x**2/2 - 2*x + 1
In [23]: laguerre(n, x) # yes
Out[23]: laguerre(n, x)
In [24]: laguerre(pi, x) # ok
Out[24]: laguerre(pi, …
-
Take the following setup code:
```julia
using PyPlot
import CMB.Legendre: LegendreSphereCoeff
function integrate_simpson(f, xs)
N = length(xs)
I = copy(f(xs[1]))
I .+= f(xs[end])
…
jmert updated
4 years ago
-
Lets see if we can programmatically (using symbolic toolbox) generate the Gauss-Legendre quadrature table (see below)
Things we'll need:
- [x] Legendre basis polynomials
- [x] Solve roots symbo…
-
Hi,
I would like to use PCE to perform the uncertainty quantification. I wonder if Chaospy can help me solve the following problem:
For example, I have two input parameters subject to the uniform d…
-
Needed by specutils.
-
Hi,
I have a left-right symmetric images, but with positive values in the north hemisphere and negative values in the south hemisphere. I would like to force the use of odd orders for the inversion…
-
~~When I attempt to build deal.II with gcc 7.2 on a power8 ppc64le architecture, every class that includes `vectorization.h` gives the following warning:~~
```
/ascldap/users/gbharpe/programming/Dea…
-
Hi Mikael,
I am trying to understand how difficult it would be to use FastTransforms.jl to compute spherical harmonic transforms of healpix maps. Healpix maps have pixels arranged along rings of co…
-
How do we represent change of variables? E.g., P_n(2x-1) for Legendre on 0..1.
I think the "right" way to do this is to treat change of variables also as quasi-matrices. That is the map `u -> (x …
-
Dear Jonathan,
How I can create a bivariate Legendre basis of degree 6 with your code?
For example, in a polynomial basis I do the Pascal Triangle by:
[ x**6, y**6, x**5*y**4,y**5*x**4,x**5,y**5,…