numpy.polynomial.polynomial.polygrid3d(x, y, z, c)
Evaluate a 3-D polynomial 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
z. The resulting points form a grid with
x in the first dimension,
y in the second, and
z in the third.
z are converted to arrays only if they are tuples or a lists, otherwise they are treated as a scalars. In either case, either
z or their elements must support multiplication and addition both with themselves and with the elements of
c has fewer than three dimensions, ones are implicitly appended to its shape to make it 3-D. The shape of the result will be c.shape[3:] + x.shape + y.shape + z.shape.
New in version 1.7.0.
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.