Python | Numpy np.cheb2poly() method
With the help of
np.cheb2poly() method, we can get the polynomial from chebyshev series by using
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.
[Polynomial([-5., 5., 14.], domain=[-1., 1.], window=[-1., 1.])]
Example #2 :
[Polynomial([8., -18., -78., 28., 88.], domain=[-1., 1.], window=[-1., 1.])]
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course