[Numpy-svn] [numpy/numpy] 944849: BUG: gh-2790, fix column scaling in polynomial pac...
GitHub
noreply@github....
Tue Feb 26 15:08:20 CST 2013
Branch: refs/heads/maintenance/1.7.x
Home: https://github.com/numpy/numpy
Commit: 944849121b71a1867236190a2be1c84296d6b318
https://github.com/numpy/numpy/commit/944849121b71a1867236190a2be1c84296d6b318
Author: Charles Harris <charlesr.harris@gmail.com>
Date: 2013-02-12 (Tue, 12 Feb 2013)
Changed paths:
M numpy/polynomial/chebyshev.py
M numpy/polynomial/hermite.py
M numpy/polynomial/hermite_e.py
M numpy/polynomial/laguerre.py
M numpy/polynomial/legendre.py
M numpy/polynomial/polynomial.py
Log Message:
-----------
BUG: gh-2790, fix column scaling in polynomial package least squares.
The columns should be scaled using their 2-norm, but in the complex case
that was being incorrectly computed as the square root of the sum of the
squared elements rather than as the square root of the sum of their squared
real and imaginary parts.
Commit: f9be8e4549148fe008615eaa36e6fc2b1919e006
https://github.com/numpy/numpy/commit/f9be8e4549148fe008615eaa36e6fc2b1919e006
Author: Charles Harris <charlesr.harris@gmail.com>
Date: 2013-02-12 (Tue, 12 Feb 2013)
Changed paths:
M numpy/polynomial/tests/test_chebyshev.py
M numpy/polynomial/tests/test_hermite.py
M numpy/polynomial/tests/test_hermite_e.py
M numpy/polynomial/tests/test_laguerre.py
M numpy/polynomial/tests/test_legendre.py
M numpy/polynomial/tests/test_polynomial.py
Log Message:
-----------
TST: Add Test for column scaling in the polynomial package fits.
The test uses the complex set of sample points [1, 1j, -1, -1j] whose
squared sum is exactly zero. This would fail before the column scaling
was fixed.
Commit: f7d6f6a647e13cdada3207b90335a53a6338ec04
https://github.com/numpy/numpy/commit/f7d6f6a647e13cdada3207b90335a53a6338ec04
Author: njsmith <njs@pobox.com>
Date: 2013-02-26 (Tue, 26 Feb 2013)
Changed paths:
M numpy/polynomial/chebyshev.py
M numpy/polynomial/hermite.py
M numpy/polynomial/hermite_e.py
M numpy/polynomial/laguerre.py
M numpy/polynomial/legendre.py
M numpy/polynomial/polynomial.py
M numpy/polynomial/tests/test_chebyshev.py
M numpy/polynomial/tests/test_hermite.py
M numpy/polynomial/tests/test_hermite_e.py
M numpy/polynomial/tests/test_laguerre.py
M numpy/polynomial/tests/test_legendre.py
M numpy/polynomial/tests/test_polynomial.py
Log Message:
-----------
Merge pull request #2984 from charris/backport-fix-complex-polynomial-fit
Backport fix complex polynomial fit
Compare: https://github.com/numpy/numpy/compare/753bc5bb518d...f7d6f6a647e1
More information about the Numpy-svn
mailing list