You are viewing an older version (2.4.3).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / polynomial / hermite / hermweight

function

numpy.polynomial.hermite:hermweight

source: /numpy/polynomial/hermite.py:1660

Signature

def hermweight(x)

Summary

Weight function of the Hermite polynomials.

Extended Summary

The weight function is and the interval of integration is . 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.

Examples

import numpy as np
from numpy.polynomial.hermite import hermweight
x = np.arange(-2, 2)
✓
hermweight(x)
✗
array([0.0183, 0.3679, 1.    , 0.3679])

Aliases

  • numpy.polynomial.hermite.hermweight