bundles / numpy latest / numpy / polynomial / chebyshev / chebpts2
function
numpy.polynomial.chebyshev:chebpts2
source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/chebyshev.py :1886
Signature
def chebpts2 ( npts ) Summary
Chebyshev points of the second kind.
Extended Summary
The Chebyshev points of the second kind are the points cos(x), where x = [pi*k/(npts - 1) for k in range(npts)] sorted in ascending order.
Parameters
npts: intNumber of sample points desired.
Returns
pts: ndarrayThe Chebyshev points of the second kind.
Aliases
-
numpy.polynomial.chebyshev.chebpts2