diff options
author | Tom Boyd <tboyd@scitec.com> | 2017-02-01 16:11:03 -0500 |
---|---|---|
committer | Tom Boyd <tboyd@scitec.com> | 2017-02-01 16:11:03 -0500 |
commit | 9bd836ac8020d79e4355909797a6b9e0bef5283c (patch) | |
tree | 83e3192bcfe6b3df7910e8777c911da9079d4af8 /numpy/polynomial/hermite_e.py | |
parent | 1695458be97d0b1eb6257b5e2f21381427ba8211 (diff) | |
download | numpy-9bd836ac8020d79e4355909797a6b9e0bef5283c.tar.gz |
Applied same fix as 1695458be to remaining 5 polynomial types
- Fixes documentation of polynomial types `*vander2d()` methods to give the
correct last index of the pseudo-Vandermonde matrix returned expressed in
terms of x and y.
Diffstat (limited to 'numpy/polynomial/hermite_e.py')
-rw-r--r-- | numpy/polynomial/hermite_e.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/hermite_e.py b/numpy/polynomial/hermite_e.py index 49888ee09..a09b66670 100644 --- a/numpy/polynomial/hermite_e.py +++ b/numpy/polynomial/hermite_e.py @@ -1240,7 +1240,7 @@ def hermevander2d(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] = He_i(x) * He_j(y), + .. math:: V[..., (deg[1] + 1)*i + j] = He_i(x) * He_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 |