Open In App

Python | Numpy np.hermeder() method

Last Updated : 11 Dec, 2019
Comments
Improve
Suggest changes
Like Article
Like
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. Python3 1=1
# 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 : Python3 1=1
# 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.]

Next Article

Similar Reads