Thursday, October 9, 2025
HomeLanguagesPython | Numpy np.hermegauss() method

Python | Numpy np.hermegauss() method

With the help of np.hermegauss() method, we can get the quadrature of gaussian hermiteE series by using np.hermegauss() method.

Syntax : np.hermegauss(deg)
Return : Return the quadrature of gaussian hermiteE series.

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




# import numpy as np
import numpy as np
from numpy.polynomial.hermite_e import hermegauss
  
# using np.hermegauss() method
gfg = hermegauss(2)
  
print(gfg)


Output :

(array([-1., 1.]), array([1.25331414, 1.25331414]))

Example #2 :




# import numpy as np
import numpy as np
from numpy.polynomial.hermite_e import hermegauss
  
# using np.hermegauss() method
gfg = hermegauss(3)
  
print(gfg)


Output :

(array([-1.73205081, 0., 1.73205081]), array([0.41777138, 1.67108552, 0.41777138]))

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

Most Popular

Dominic
32346 POSTS0 COMMENTS
Milvus
87 POSTS0 COMMENTS
Nango Kala
6715 POSTS0 COMMENTS
Nicole Veronica
11878 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11941 POSTS0 COMMENTS
Shaida Kate Naidoo
6837 POSTS0 COMMENTS
Ted Musemwa
7095 POSTS0 COMMENTS
Thapelo Manthata
6790 POSTS0 COMMENTS
Umr Jansen
6791 POSTS0 COMMENTS