Open In App

Python | Numpy np.hermeder() method

Improve
Improve
Like Article
Like
Save
Share
Report

With the help of np.hermeder() method, we can differentiate hermiteE series by using np.hermeder() method.

Syntax : np.hermeder(series, m)

Return : Return the coefficient of differentiated series.

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




# import numpy and harmeder
import numpy as np
from numpy.polynomial.hermite_e import hermeder
  
series = np.array([2, 0.3, 4, 0.5, 6])
  
# using np.harmeder() method
gfg = hermeder(series, m = 2)
  
print(gfg)


Output :

[8. 3. 72.]

Example #2 :




# import numpy and harmeder
import numpy as np
from numpy.polynomial.hermite_e import hermeder
  
series = np.array([1, 2, 3, 4, 5, 10])
  
# using np.harmeder() method
gfg = hermeder(series, m = 3)
  
print(gfg)


Output :

[24. 120. 600.]


Last Updated : 11 Dec, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads