Friday, December 27, 2024
Google search engine
HomeLanguagesPython | Numpy np.hermediv() method

Python | Numpy np.hermediv() method

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 and hermediv
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])
  
# using np.hermediv() method
gfg = hermediv(series1, series2)
  
print(gfg)


Output :

(array([0.30769231]), array([-2.07692308, -1.38461538, -0.69230769]))

Example #2 :




# import numpy and hermediv
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])
  
# using np.hermediv() method
gfg = hermediv(series1, series2)
  
print(gfg)


Output :

(array([3.38461538]), array([-22.84615385, -15.23076923, -7.61538462]))

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

Most Popular

Recent Comments