summaryrefslogtreecommitdiff
path: root/numpy/polynomial/chebyshev.py
diff options
context:
space:
mode:
authorChunlin <fangchunlin@huawei.com>2020-04-25 23:33:48 +0800
committerGitHub <noreply@github.com>2020-04-25 10:33:48 -0500
commit6ee49178517088966e63c2aedf6a8a5779ad5384 (patch)
tree8ea96ee9757724dfb590bf359a90cd2c75196331 /numpy/polynomial/chebyshev.py
parent6d6df47fefdc503fbcffd8cb14a5daaa956ef220 (diff)
downloadnumpy-6ee49178517088966e63c2aedf6a8a5779ad5384.tar.gz
DOC: Add missing bracket (gh-16051)
Add missing closing brackets, script to generate the list in the PR gh-16051.
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
-rw-r--r--numpy/polynomial/chebyshev.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index 1329ba07d..4ddb0c688 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -1471,7 +1471,7 @@ def chebvander2d(x, y, deg):
-------
vander2d : ndarray
The shape of the returned matrix is ``x.shape + (order,)``, where
- :math:`order = (deg[0]+1)*(deg([1]+1)`. The dtype will be the same
+ :math:`order = (deg[0]+1)*(deg[1]+1)`. The dtype will be the same
as the converted `x` and `y`.
See Also
@@ -1525,7 +1525,7 @@ def chebvander3d(x, y, z, deg):
-------
vander3d : ndarray
The shape of the returned matrix is ``x.shape + (order,)``, where
- :math:`order = (deg[0]+1)*(deg([1]+1)*(deg[2]+1)`. The dtype will
+ :math:`order = (deg[0]+1)*(deg[1]+1)*(deg[2]+1)`. The dtype will
be the same as the converted `x`, `y`, and `z`.
See Also