summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polynomial.py
diff options
context:
space:
mode:
authorTom Boyd <tboyd@scitec.com>2017-02-01 08:48:48 -0500
committerTom Boyd <tboyd@scitec.com>2017-02-01 08:48:48 -0500
commit1695458be97d0b1eb6257b5e2f21381427ba8211 (patch)
treefd361b5e5c7ab7565db1c7539fd15686bd619498 /numpy/polynomial/polynomial.py
parentbd0fe0aa2159fa1d4570b0c524097b7492f239bf (diff)
downloadnumpy-1695458be97d0b1eb6257b5e2f21381427ba8211.tar.gz
Fixing docstring error in polyvander2d
Diffstat (limited to 'numpy/polynomial/polynomial.py')
-rw-r--r--numpy/polynomial/polynomial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/polynomial.py b/numpy/polynomial/polynomial.py
index eae2f8692..19b085eaf 100644
--- a/numpy/polynomial/polynomial.py
+++ b/numpy/polynomial/polynomial.py
@@ -1161,7 +1161,7 @@ def polyvander2d(x, y, deg):
Returns the pseudo-Vandermonde matrix of degrees `deg` and sample
points `(x, y)`. The pseudo-Vandermonde matrix is defined by
- .. math:: V[..., deg[1]*i + j] = x^i * y^j,
+ .. math:: V[..., (deg[1] + 1)*i + j] = x^i * y^j,
where `0 <= i <= deg[0]` and `0 <= j <= deg[1]`. The leading indices of
`V` index the points `(x, y)` and the last index encodes the powers of