{ } Raw JSON

bundles / numpy 2.4.4 / numpy / polynomial / chebyshev / chebpts1

function

numpy.polynomial.chebyshev:chebpts1

source: /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