Python | Numpy np.laggrid2d() method Last Updated : 29 Dec, 2019 Comments Improve Suggest changes Like Article Like Report np.laggrid2d() method is used to evaluate a 2-D Laguerre series on the Cartesian product of x and y. Syntax : np.laggrid2d(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 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] 1-D arrays of Laguerre series coefficients ordered from low to high. Return : [ndarray] The values of the two dimensional Chebyshev series at points in the Cartesian product of x and y. Code #1 : Python3 # Python program explaining # numpy.laggrid2d() method # importing numpy as np import numpy as np from numpy.polynomial.laguerre import laggrid2d # Input laguerre series coefficients c = np.array([[1, 3, 5], [2, 4, 6]]) # using np.laggrid2d() method ans = laggrid2d([7, 9], [8, 10], c) print(ans) Output: [[ -391. -783.] [ -543. -1087.]] Code #2 : Python3 # Python program explaining # numpy.laggrid2d() method # importing numpy as np import numpy as np from numpy.polynomial.laguerre import laggrid2d # Input laguerre series coefficients c = np.array([[1, 3, 5], [2, 4, 6]]) # using np.laggrid2d() method ans = laggrid2d(7, 8, c) print(ans) Output: -391.0 Comment More infoAdvertise with us Next Article Python | Numpy np.laggrid2d() method jana_sayantan Follow Improve Article Tags : Python Python-numpy Python numpy-Mathematical Function Practice Tags : python Similar Reads 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.laggrid3d() method np.laggrid3d() method is used to evaluate a 3-D Laguerre series on the Cartesian product of x, y and z. Syntax : np.laggrid3d(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 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 Python | Numpy np.lagadd() method np.lagadd() method is used to add one Laguerre series to another.It returns the sum of two Laguerre series c1 + c2. Syntax : np.lagadd(c1, c2) Parameters: c1, c2 :[ array_like ] 1-D arrays of Laguerre series coefficients ordered from low to high. Return : [ndarray] Array representing the Laguerre se 1 min read Python | Numpy np.lagval2d() method With the help of np.lagval2d() method, we can get the 2-D laguerre series at point x by using np.lagval2d() method. Syntax : np.lagval2d(x, y, c) Return : Return the 2-D laguerre series at point x and y. Example #1 : In this example we can see that by using np.lagval2d() method, we are able to get t 1 min read Like