Python | Numpy np.hermegrid2d() method Last Updated : 11 Dec, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report With the help of np.hermegrid2d() method, we can evaluate a 2-D hermite series on cartesian product of (x, y), where (x, y) is defined in the np.hermegrid2d() method. Syntax : np.hermegrid2d(x, y, series) Return : Return the evaluated 2-D hermite series. Example #1 : In this example we can see that by using np.hermegrid2d() method, we are able to evaluate the 2-D hermite series on cartesian product of x and y by using this method. Python3 1=1 # import numpy and hermegrid2d import numpy as np from numpy.polynomial.hermite_e import hermegrid2d series = np.array([[1, 2, 3, 4], [5, 6, 7, 8]]) # using np.hermegrid2d() method gfg = hermegrid2d(3, 4, series) print(gfg) Output : 1912.0 Example #2 : Python3 1=1 # import numpy and hermegrid2d import numpy as np from numpy.polynomial.hermite_e import hermegrid2d series = np.array([[1, 2, 3, 4], [5, 6, 7, 8]]) # using np.hermegrid2d() method gfg = hermegrid2d([2, 3], [5, 6], series) print(gfg) Output : [[2689. 4650.] [3772. 6520.]] Comment More infoAdvertise with us Next Article Python | Numpy np.leggrid2d() method J jitender_1998 Follow Improve Article Tags : Python Python-numpy Python numpy-Mathematical Function Practice Tags : python Similar Reads Python | Numpy np.hermegrid3d() method With the help of np.hermegrid3d() method, we can evaluate a 3-D hermite series on cartesian product of (x, y, z), where (x, y, z) is defined in the np.hermegrid3d() method. Syntax : np.hermegrid3d(x, y, z, series) Return : Return the evaluated 3-D hermite series. Example #1 : In this example we can 1 min read Python | Numpy np.leggrid2d() method np.leggrid2d() method is used to evaluate a 2-D legendre series on the Cartesian product of x and y. Syntax : np.leggrid2d(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 conve 2 min read Python | Numpy np.hermeval2d() method With the help of np.hermeval2d() method, we can evaluate a 2-D hermite series on point (x, y), where (x, y) is defined in the np.hermeval2d() method. Syntax : np.hermeval2d(x, y, series) Return : Return the evaluated 2-D hermite series. Example #1 : In this example we can see that by using np.hermev 1 min read Python | Numpy np.hermvander2d() method With the help of np.hermvander2d() method, we can get the 2-D pseudo vandermonde matrix from hermite series of given degree by using np.hermvander2d() method. Syntax : np.hermvander2d(x, y, deg) Return : Return the 2-D pseudo vandermonde matrix of given degree. Example #1 : In this example we can se 2 min read Python | Numpy np.hermevander2d() method With the help of np.hermevander2d() method, we can get the pseudo vandermonde matrix of a given 2-D data having degrees x and y by using np.hermevander2d() method. Syntax : np.hermevander2d(x, y, [x_deg, y_deg]) Return : Return the pseudo vandermonde matrix of given 2-D data. Example #1 : In this ex 2 min read Python | Numpy np.hermzero() method With the help of np.hermzero() method, we can use hermzero instead of np.zeros by using np.hermzero() method. Syntax : np.hermzero() Return : Return array([0]) Example #1 : In this example we can see that by using np.hermzero() method, we are able to get the functionality of np.zeros as same as this 1 min read Like