numpy.polynomial.polynomial.polyval3d()

numpy.polynomial.polynomial.polyval3d

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

Evaluate a 3-D polynomial at points (x, y, z).

This function returns the values:

p(x,y,z) = \sum_{i,j,k} c_{i,j,k} * x^i * y^j * z^k

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 and they must have the same shape after conversion. In either case