The weight function of the Chebyshev polynomials.
The weight function is and the interval of integration is . The Chebyshev polynomials are orthogonal, but not normalized, with respect to this weight function.
x : array_like
Values at which the weight function will be computed.
w : ndarray
The weight function at x.
New in version 1.7.0.