Python | Numpy np.cheb2poly() method Last Updated : 03 Nov, 2019 Comments Improve Suggest changes Like Article Like Report With the help of np.cheb2poly() method, we can get the polynomial from chebyshev series by using np.cheb2poly() method. Syntax : np.cheb2poly(array) Return : Return array having coefficients of polynomial. Example #1 : In this example we can see that by using np.cheb2poly() method, we are able to get the polynomial from chebyshev series by using this method. Python3 1=1 # import numpy import numpy as np from numpy import polynomial as P x = np.array([2, 5, 7]) # using np.cheb2poly() method gfg = P.Chebyshev(x) gfg = gfg.convert(kind = P.Polynomial) gfg = P.chebyshev.cheb2poly(gfg) print(gfg) [Polynomial([-5., 5., 14.], domain=[-1., 1.], window=[-1., 1.])] Example #2 : Python3 1=1 # import numpy import numpy as np from numpy import polynomial as P x = np.array([2, 3, 5, 7, 11]) # using np.cheb2poly() method gfg = P.Chebyshev(x) gfg = gfg.convert(kind = P.Polynomial) gfg = P.chebyshev.cheb2poly(gfg) print(gfg) [Polynomial([8., -18., -78., 28., 88.], domain=[-1., 1.], window=[-1., 1.])] Comment More infoAdvertise with us Next Article Python | Numpy np.cheb2poly() method J Jitender_1998 Follow Improve Article Tags : Technical Scripter Python Python-numpy Python numpy-arrayManipulation Practice Tags : python Similar Reads Python | Numpy np.chebpow() method With the help of np.chebpow() method, we can get the power of Chebyshev series by using np.chebpow() method. Syntax : np.chebpow(s1, power) Return : Return an array after power the series. Example #1 : In this example we can see that by using np.chebpow() method, we are able to get the power of cheb 1 min read Python | Numpy np.leg2poly() method np.leg2poly() method is used to convert a legendre series to a polynomial. Syntax : np.leg2poly(c) Parameters: c :[array_like] 1-D arrays of legendre series coefficients ordered from low to high. Return : [ndarray] 1-D array containing the coefficients of the equivalent polynomial. Code #1 : Python3 1 min read Python | Numpy np.chebval() method With the help of np.chebval() method, we can get the array of coefficients after evaluation of x on chebyshev series by using np.chebval() method. Syntax : np.chebval(x, c) Return : Return an array after evaluation on x. Example #1 : In this example we can see that by using np.chebval() method, we a 1 min read Python | Numpy np.chebmul() method With the help of np.chebmul() method, we can get the multiplication of two Chebyshev series by using np.chebmul() method. Syntax : np.chebmul(s1, s2) Return : Return an array after multiplication. Example #1 : In this example we can see that by using np.chebmul() method, we are able to get the multi 1 min read Python | Numpy np.chebmulx() method With the help of np.chebmulx() method, we can get the multiplication of Chebyshev series with independent variable x by using np.chebmulx() method. Syntax : np.chebmulx(s1) Return : Return an array after multiplication with x. Example #1 : In this example we can see that by using np.chebmulx() metho 1 min read Like