Did I find the right examples for you? yes no

# numpy.polynomial.hermite_e.hermeweight

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
```Weight function of the Hermite_e polynomials.

The weight function is :math:`\exp(-x^2/2)` and the interval of
integration is :math:`[-\inf, \inf]`. the HermiteE polynomials are
orthogonal, but not normalized, with respect to this weight function.

Parameters
----------
x : array_like
Values at which the weight function will be computed.(more...)
```

```        def hermeweight(x):
"""Weight function of the Hermite_e polynomials.

The weight function is :math:`\exp(-x^2/2)` and the interval of
integration is :math:`[-\inf, \inf]`. the HermiteE polynomials are
orthogonal, but not normalized, with respect to this weight function.

Parameters
----------
x : array_like
Values at which the weight function will be computed.

Returns
-------
w : ndarray
The weight function at `x`.

Notes
-----

"""
w = np.exp(-.5*x**2)
return w
```

```    def test_weight(self):
x = np.linspace(-5, 5, 11)
tgt = np.exp(-.5*x**2)
res = herme.hermeweight(x)
assert_almost_equal(res, tgt)
```

```    def test_weight(self):