np.chebgrid2d () method, we can get an array of coefficients after calculating the Chebyshev series from the Cartesian product of x and y using
np.chebgrid2d () .
np.chebgrid2d (x, y, c)
Return: Return an array after evaluation on (x, y).
Example # 1:
In this example, we can see that using
np.chebgrid2d () , we can get an array of coefficients by evaluating Chebyshev series on the Cartesian product of x and y.
Example # 2: