Monday, October 6, 2025
HomeLanguagesPython | Numpy np.hermmul() method

Python | Numpy np.hermmul() method

With the help of np.hermmul() method, we can get the multiplication of two hermite series by using np.hermmul() method.

Syntax : np.hermmul(series1, series2)
Return : Return the coefficient of series after multiplication.

Example #1 :
In this example we can see that by using np.hermmul() method, we are able to get the coefficient of series after multiplication of two hermite series by using this method.




# import numpy and hermmul
import numpy as np
from numpy.polynomial.hermite import hermmul
  
series1 = np.array([1, 2, 3, 4, 5])
series2 = np.array([6, 7, 8, 9, 10])
  
# using np.hermmul() method
gfg = hermmul(series1, series2)
  
print(gfg)


Output :

[21154. 17903. 44860. 13458. 16278. 2154. 1706. 85. 50.]

Example #2 :




# import numpy and hermmul
import numpy as np
from numpy.polynomial.hermite import hermmul
  
series1 = np.array([1, 2, 3])
series2 = np.array([1, 2, 3])
  
# using np.hermmul() method
gfg = hermmul(series1, series2)
  
print(gfg)


Output :

[81. 52. 82. 12. 9.]

Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32338 POSTS0 COMMENTS
Milvus
86 POSTS0 COMMENTS
Nango Kala
6707 POSTS0 COMMENTS
Nicole Veronica
11871 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11936 POSTS0 COMMENTS
Shaida Kate Naidoo
6825 POSTS0 COMMENTS
Ted Musemwa
7089 POSTS0 COMMENTS
Thapelo Manthata
6779 POSTS0 COMMENTS
Umr Jansen
6779 POSTS0 COMMENTS