parameters: (x)
return_statement: return w
docstring: Weight function of the Hermite polynomials.
  
      The weight function is :math:`\\exp(-x^2)` and the interval of
      integration is :math:`[-\\inf, \\inf]`. the Hermite 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
      -----
  
      .. versionadded:: 1.7.0
docstring_summary: Weight function of the Hermite polynomials.
docstring_tokens: Weight function of the Hermite polynomials .
function: def hermweight(x):
      """
      Weight function of the Hermite polynomials.
  
      The weight function is :math:`\\exp(-x^2)` and the interval of
      integration is :math:`[-\\inf, \\inf]`. the Hermite 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
      -----
  
      .. versionadded:: 1.7.0
  
      """
      w = np.exp(-x**2)
      return w
function_tokens: def hermweight ( x ) : w = np . exp ( - x ** 2 ) return w