Python | Numpy np.hermeder() method (original) (raw)

Last Updated : 11 Dec, 2019

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 as np

from numpy.polynomial.hermite_e import hermeder

series = np.array([ 2 , 0.3 , 4 , 0.5 , 6 ])

gfg = hermeder(series, m = 2 )

print (gfg)

Output :

[8. 3. 72.]

Example #2 :

import numpy as np

from numpy.polynomial.hermite_e import hermeder

series = np.array([ 1 , 2 , 3 , 4 , 5 , 10 ])

gfg = hermeder(series, m = 3 )

print (gfg)

Output :

[24. 120. 600.]

Similar Reads