# 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 multiplication of two chebyshev series using this method.

 `# import numpy ` `import` `numpy as np ` `from` `numpy.polynomial ``import` `chebyshev as C ` ` `  `s1 ``=` `(``4``, ``6``, ``8``) ` `s2 ``=` `(``3``, ``5``, ``7``) ` `# using np.chebmul() method ` `gfg ``=` `C.chebmul(s1, s2) ` ` `  `print``(gfg) `

Output :

[55. 79. 67. 41. 28.]

Example #2 :

 `# import numpy ` `import` `numpy as np ` `from` `numpy.polynomial ``import` `chebyshev as C ` ` `  `s1 ``=` `(``4``, ``6``, ``8``, ``1``, ``3``, ``5``) ` `s2 ``=` `(``3``, ``5``, ``7``, ``2``, ``4``, ``6``) ` `# using np.chebmul() method ` `gfg ``=` `C.chebmul(s1, s2) ` ` `  `print``(gfg) `

Output :

[ 77. 114.5 110. 113. 92. 70. 58. 46.5 14. 19. 15. ]

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :

Be the First to upvote.

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.