Python | Numpy np.hermediv() method
Last Updated :
11 Dec, 2019
With the help of np.hermediv()
method, we can get the division of two hermiteE series by using np.hermediv()
method.
Syntax : np.hermediv(series1, series2)
Return : Return the division of two hermiteE series.
Example #1 :
In this example we can see that by using np.hermediv()
method, we are able to get the division of two hermiteE series by using this method.
import numpy as np
from numpy.polynomial.hermite_e import hermediv
series1 = np.array([ 1 , 2 , 3 , 4 ])
series2 = np.array([ 10 , 11 , 12 , 13 ])
gfg = hermediv(series1, series2)
print (gfg)
|
Output :
(array([0.30769231]), array([-2.07692308, -1.38461538, -0.69230769]))
Example #2 :
import numpy as np
from numpy.polynomial.hermite_e import hermediv
series1 = np.array([ 11 , 22 , 33 , 44 ])
series2 = np.array([ 10 , 11 , 12 , 13 ])
gfg = hermediv(series1, series2)
print (gfg)
|
Output :
(array([3.38461538]), array([-22.84615385, -15.23076923, -7.61538462]))
Like Article
Suggest improvement
Share your thoughts in the comments
Please Login to comment...