summaryrefslogtreecommitdiff
path: root/numpy/polynomial/hermite.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/hermite.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/hermite.py')
-rw-r--r--numpy/polynomial/hermite.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/polynomial/hermite.py b/numpy/polynomial/hermite.py
index 44b26f5ee..487d8dfdb 100644
--- a/numpy/polynomial/hermite.py
+++ b/numpy/polynomial/hermite.py
@@ -1194,7 +1194,7 @@ def hermvander2d(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
@@ -1248,7 +1248,7 @@ def hermvander3d(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
@@ -1369,8 +1369,8 @@ def hermfit(x, y, deg, rcond=None, full=False, w=None):
Fits using Hermite series are probably most useful when the data can be
approximated by ``sqrt(w(x)) * p(x)``, where `w(x)` is the Hermite
- weight. In that case the weight ``sqrt(w(x[i])`` should be used
- together with data values ``y[i]/sqrt(w(x[i])``. The weight function is
+ weight. In that case the weight ``sqrt(w(x[i]))`` should be used
+ together with data values ``y[i]/sqrt(w(x[i]))``. The weight function is
available as `hermweight`.
References