Python | Numpy np.hermemul() method
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 as np
from numpy.polynomial.hermite_e import hermemul
series1 = np.array([ 1 , 2 , 3 , 4 ])
series2 = np.array([ 10 , 11 , 12 , 13 ])
gfg = hermemul(series1, series2)
print (gfg)
|
Output :
[416. 667. 1354. 632. 574. 87. 52.]
Example #2 :
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 ])
gfg = hermemul(series1, series2)
print (gfg)
|
Output :
[4576. 7337. 14894. 6952. 6314. 957. 572.]
Last Updated :
11 Dec, 2019
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...