Python | The numpy np.hermemul () method



Using the np.hermemul() method, we can get the multiplication of two hermiteE rows using np.hermemul () .

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

Example # 1:
In this example, we see that with np.hermemul () we we can get the multiplication of two hermiteE rows using this method.

# numpy and hermemul imports

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 the np.hermemul () method

gfg = hermemul (series1, series2)

 

print (gfg)

Output:

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

Example # 2:

# numpy and hermemul imports

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 the np.hermemul () method

gfg = hermemul (series1, series2)

 

print (gfg)

Output:

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