Python | Numpy np.polygrid3d() method Last Updated : 31 Dec, 2019 Comments Improve Suggest changes Like Article Like Report np.polygrid3d() method is used to evaluate a 3-D polynomial series on the Cartesian product of x, y and z. Syntax : np.polygrid3d(x, y, z, c) Parameters: x, y, z :[array_like]The three dimensional series is evaluated at the points in the Cartesian product of x, y and z. If x or y or z is a list or tuple, it is first converted to an ndarray, otherwise it is left unchanged and, if it isn’t an ndarray, it is treated as a scalar. c :[array_like] polynomial series coefficients. Return : [ndarray] The values of the two dimensional polynomial series at points in the Cartesian product of x and y. Code #1 : Python3 # Python program explaining # numpy.polygrid3d() method # importing numpy as np import numpy as np from numpy.polynomial.polynomial import polygrid3d # Input polynomial series coefficients c = np.array([[1, 3, 5], [2, 4, 6], [10, 11, 12]]) # using np.polygrid3d() method ans = polygrid3d([7, 9], [8, 10], [5, 6], c) print(ans) Output: [[ 416970. 491223.] [ 635850. 749079.]] Code #2 : Python3 # Python program explaining # numpy.polygrid3d() method # importing numpy as np import numpy as np from numpy.polynomial.polynomial import polygrid3d # Input polynomial series coefficients c = np.array([[1, 3, 5], [2, 4, 6], [10, 11, 12]]) # using np.polygrid3d() method ans = polygrid3d(7, 11, 12, c) print(ans) Output: 83610.0 Comment More infoAdvertise with us Next Article Python | Numpy np.polygrid3d() method J jana_sayantan Follow Improve Article Tags : Python Python-numpy Python numpy-Mathematical Function Practice Tags : python Similar Reads Python | Numpy np.polygrid2d() method np.polygrid2d() method is used to evaluate a 2-D polynomial series on the Cartesian product of x and y. Syntax : np.polygrid2d(x, y, c) Parameters: x, y :[array_like]The two dimensional series is evaluated at the points in the Cartesian product of x and y. If x or y is a list or tuple, it is first c 2 min read Python | Numpy np.polyvander3d() method np.polyvander3d() method is used to returns the Vandermonde matrix of degree deg and sample points x, y and z. Syntax : np.polyvander3d(x, y, z, deg) Parameters: x, y, z :[ array_like ] Array of points. The dtype is converted to float64 or complex128 depending on whether any of the elements are comp 2 min read Python | Numpy np.polyvander() method np.polyvander() method is used to returns the Vandermonde matrix of degree deg and sample points x. Syntax : np.polyvander(x, deg) Parameters: x :[ array_like ] Array of points. The dtype is converted to float64 or complex128 depending on whether any of the elements are complex. If x is scalar it is 1 min read numpy.polydiv() in Python The numpy.polydiv() method evaluates the division of two polynomials and returns the quotient and remainder of the polynomial division. Syntax : numpy.polydiv(p1, p2) Parameters : p1 : [array_like or poly1D]Coefficients of dividend polynomial. p2 : [array_like or poly1D]Coefficients of divisor polyn 1 min read Python | Numpy np.leggrid3d() method np.leggrid3d() method is used to evaluate a 3-D legendre series on the Cartesian product of x, y and z. Syntax : np.leggrid3d(x, y, z, c) Parameters: x, y, z :[array_like]The three dimensional series is evaluated at the points in the Cartesian product of x, y and z. If x or y or z is a list or tuple 2 min read Like