numpy.polynomial.legendre.leggrid3d()

numpy.polynomial.legendre.leggrid3d

numpy.polynomial.legendre.leggrid3d(x, y, z, c) [source]

Evaluate a 3-D Legendre series on the Cartesian product of x, y, and z.

This function returns the values:

p(a,b,c) = \sum_{i,j,k} c_{i,j,k} * L_i(a) * L_j(b) * L_k(c)

where the points (a, b, c) consist of all triples formed by taking a from x, b from y, and c from z. The resulting