This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / polynomial / chebyshev / chebpts1

function

numpy.polynomial.chebyshev:chebpts1

source: build-install/usr/lib/python3.14/site-packages/numpy/polynomial/chebyshev.py :1855

Signature

def   chebpts1 ( npts )

Summary

Chebyshev points of the first kind.

Extended Summary

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

Aliases

  • numpy.polynomial.chebyshev.chebpts1