# numpy.polynomial.chebyshev.chebpts1

polynomial.chebyshev.chebpts1(npts)

  Chebyshev points of the first kind.

  The Chebyshev points of the first kind are the points `cos(x)`, where `x = [pi*(k + .5)/npts for k in range(npts)]`.

  Parameters
    npts int

      Number of sample points desired.

  Returns
    pts ndarray

      The Chebyshev points of the first kind.

  See also

  `chebpts2`

  Notes

  New in version 1.5.0.

previous

numpy.polynomial.chebyshev.chebfit

next

numpy.polynomial.chebyshev.chebpts2