summaryrefslogtreecommitdiff
path: root/numpy/polynomial/chebyshev.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-02-01 16:35:34 -0700
committerGitHub <noreply@github.com>2017-02-01 16:35:34 -0700
commit2aa36e94e9f683afdf9ec015c41f94be3bd4b38a (patch)
treea507905dc08dbbd4ab3fe8417c238820ee15f6d0 /numpy/polynomial/chebyshev.py
parenta12a171dc5b001bce0c3a8864f4ff3c91e651a5f (diff)
parent9bd836ac8020d79e4355909797a6b9e0bef5283c (diff)
downloadnumpy-2aa36e94e9f683afdf9ec015c41f94be3bd4b38a.tar.gz
Merge pull request #8555 from pezcore/8554-polyvander2d-doc-bug
Fixing docstring error in polyvander2d
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
-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 44fb32b5f..3babb8fc2 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -1472,7 +1472,7 @@ def chebvander2d(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] = T_i(x) * T_j(y),
+ .. math:: V[..., (deg[1] + 1)*i + j] = T_i(x) * T_j(y),
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 degrees of