Open In App

Python | Numpy np.hermemul() method

Last Updated : 11 Dec, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

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

Syntax : np.hermemul(series1, series2)
Return : Return the multiplication of two hermiteE series.

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




# import numpy and hermemul
import numpy as np
from numpy.polynomial.hermite_e import hermemul
  
series1 = np.array([1, 2, 3, 4])
series2 = np.array([10, 11, 12, 13])
  
# using np.hermemul() method
gfg = hermemul(series1, series2)
  
print(gfg)


Output :

[416. 667. 1354. 632. 574. 87. 52.]

Example #2 :




# import numpy and hermemul
import numpy as np
from numpy.polynomial.hermite_e import hermemul
  
series1 = np.array([11, 22, 33, 44])
series2 = np.array([10, 11, 12, 13])
  
# using np.hermemul() method
gfg = hermemul(series1, series2)
  
print(gfg)


Output :

[4576. 7337. 14894. 6952. 6314. 957. 572.]


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads