Python | Numpy np.chebgrid2d() method Last Updated : 11 Nov, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report With the help of np.chebgrid2d() method, we can get the array of coefficients after evaluation the chebyshev series on cartesian product of x and y by using np.chebgrid2d() method. Syntax : np.chebgrid2d(x, y, c) Return : Return an array after evaluation on (x, y). Example #1 : In this example we can see that by using np.chebgrid2d() method, we are able to get the array of coefficients by evaluating the chebyshev series on the cartesian product of x and y. Python3 1=1 # import numpy import numpy as np import numpy.polynomial.chebyshev as cheb # using np.chebgrid2d() method gfg = cheb.chebgrid2d((2, 5), (1, 3), (2, -4, 1)) print(gfg) Output : [32. 94.] Example #2 : Python3 1=1 # import numpy import numpy as np import numpy.polynomial.chebyshev as cheb # using np.chebgrid2d() method gfg = cheb.chebgrid2d((1, 3, 5, 7), (2, 4, 8), (2, -4, 1, 5, 1)) print(gfg) Output : [719680. 6486180. 52831708.] Comment More infoAdvertise with us Next Article Python | Numpy np.chebval2d() method J jitender_1998 Follow Improve Article Tags : Technical Scripter Python Python-numpy Practice Tags : python Similar Reads Python | Numpy np.chebgrid3d() method With the help of np.chebgrid3d() method, we can get the array of coefficients after evaluation the chebyshev series on cartesian product of x, y and z by using np.chebgrid3d() method. Syntax : np.chebgrid3d(x, y, z, c) Return : Return an array after evaluation on (x, y, z). Example #1 : In this exam 1 min read Python | Numpy np.hermegrid2d() method 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 1 min read Python | Numpy np.chebadd() method With the help of np.chebadd() method, we can get the addition of two Chebyshev series by using np.chebadd() method. Syntax : np.chebadd(s1, s2) Return : Return an array after addition. Example #1 : In this example we can see that by using np.chebadd() method, we are able to get the addition of two c 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.chebval2d() method With the help of np.chebval2d() method, we can get the array of coefficients after evaluation on (x, y) on chebyshev series by using np.chebval2d() method. Syntax : np.chebval2d(x, y, c) Return : Return an array after evaluation on (x, y). Example #1 : In this example we can see that by using np.che 1 min read Python | Numpy np.chebfit() method With the help of np.chebfit() method, we can get the least square fit of chebyshev series by using np.chebfit() method. Syntax : np.chebfit(x, y, degree) Return : Return the array of chebyshev series coefficient values. Example #1 : In this example we can see that using np.chebfit() method, we are a 1 min read Like