summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShashank Gupta <shashankgupta140195@gmail.com>2022-09-16 21:23:46 +0000
committerShashank Gupta <shashankgupta140195@gmail.com>2022-09-16 21:23:46 +0000
commitf454a92417950106168f66a73b5b406478bf0d91 (patch)
tree82b1e93b506fc5f2e4a0834dbc35235e590a03f1
parent5f94eb858f3e181eccfda2c26db9f0b9167a8156 (diff)
downloadnumpy-f454a92417950106168f66a73b5b406478bf0d91.tar.gz
DOC: Change in the documentation for chebpts2 method
-rw-r--r--numpy/polynomial/chebyshev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index 5c595bcf6..106d1e36f 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -1959,7 +1959,7 @@ def chebpts2(npts):
Chebyshev points of the second kind.
The Chebyshev points of the second kind are the points ``cos(x)``,
- where ``x = [pi*k/(npts - 1) for k in range(npts)]``.
+ where ``x = [pi*k/(npts - 1) for k in range(-npts+1,1)]``.
Parameters
----------