numpy.polynomial.chebyshev.chebpts1¶
- polynomial.chebyshev.chebpts1(npts)[source]¶
Chebyshev points of the first kind.
The Chebyshev points of the first kind are the points
cos(x)
, wherex = [pi*(k + .5)/npts for k in range(npts)]
.- Parameters
- nptsint
Number of sample points desired.
- Returns
- ptsndarray
The Chebyshev points of the first kind.
See also
Notes
New in version 1.5.0.