Python | Numpy np.herm2poly method
With the help of
np.herm2poly() method, we can get the polynomial from hermite series by using
Return : Return the coefficient of polynomial.
Example #1 :
In this example we can see that by using
np.herm2poly() method, we are able to get the coefficients of polynomial from hermite series using this method.
[5.5 -4.4 -22.8 3.2 8.]
Example #2 :
[-14629.1 11761.6 147243.6 -31585.6 -197617.6 19084.8 79571.2
-3660.8 -11443.2 204.8 512.]
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course