diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2019-10-23 18:18:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 18:18:51 -0600 |
commit | 3822ef836c240a7655a79634dba14c65b80e069b (patch) | |
tree | ed4a51e3a9940c5e5d3cd811e36a96612fe19da7 /numpy/polynomial/chebyshev.py | |
parent | ae4d2bcd5dc788ee13a50c445f73e21985ae40a9 (diff) | |
parent | e443198415038a5995a15c6c32b6de0919c95f70 (diff) | |
download | numpy-3822ef836c240a7655a79634dba14c65b80e069b.tar.gz |
Merge pull request #14353 from eric-wieser/generalize-vandernd
MAINT: polynomial: Add an N-d vander implementation used under the hood of the vander2d and vander3d functions
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
-rw-r--r-- | numpy/polynomial/chebyshev.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py index 093eb0048..0cd9c4d23 100644 --- a/numpy/polynomial/chebyshev.py +++ b/numpy/polynomial/chebyshev.py @@ -1468,7 +1468,7 @@ def chebvander2d(x, y, deg): .. versionadded:: 1.7.0 """ - return pu._vander2d(chebvander, x, y, deg) + return pu._vander_nd_flat((chebvander, chebvander), (x, y), deg) def chebvander3d(x, y, z, deg): @@ -1522,7 +1522,7 @@ def chebvander3d(x, y, z, deg): .. versionadded:: 1.7.0 """ - return pu._vander3d(chebvander, x, y, z, deg) + return pu._vander_nd_flat((chebvander, chebvander, chebvander), (x, y, z), deg) def chebfit(x, y, deg, rcond=None, full=False, w=None): |