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:
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 points form a grid with x in the first dimension, y in the second, and z in the third. The parameters x, y, and z are converted to arrays only if they are tuples or a lists, otherwise they are treated as a scalars.