From noreply at github.com Mon Jan 2 10:57:51 2012 From: noreply at github.com (noreply at github.com) Date: Mon, 2 Jan 2012 07:57:51 -0800 Subject: [Numpy-svn] [numpy/numpy] b81793: BUG raise TypeError instead of NotImplementedError... Message-ID: <20120102155751.BC6284205A@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b8179388d3868be2cc26b6ca12e937c7f83a9d5c https://github.com/numpy/numpy/commit/b8179388d3868be2cc26b6ca12e937c7f83a9d5c Author: Lars Buitinck Date: 2012-01-02 (Mon, 02 Jan 2012) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- BUG raise TypeError instead of NotImplementedError for wrong types From noreply at github.com Mon Jan 9 13:13:13 2012 From: noreply at github.com (GitHub) Date: Mon, 09 Jan 2012 10:13:13 -0800 Subject: [Numpy-svn] [numpy/numpy] : STY: Whitespace cleanup and double space between f... Message-ID: <4f0b2e3940903_7ea23ff2480512f052610@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0a17ccb5dad99e6dd33ab315223f1b0a6ffe98ae https://github.com/numpy/numpy/commit/0a17ccb5dad99e6dd33ab315223f1b0a6ffe98ae Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- STY: Whitespace cleanup and double space between function definitions. Commit: 58d9618a08f6837614c0e74cadec089639ad16ec https://github.com/numpy/numpy/commit/58d9618a08f6837614c0e74cadec089639ad16ec Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- ENH: Modify the various polynomial series so that multidimensional coefficient arrays can be used. Add functions for evaluation of 2D and 3D polynomial series evaluated either on a specified set of points or on a cartesian product of 1D points. The new functions have names polyval2d, polygrid2d, polyval3d, and polygrid3d, where 'poly' can be replaced by any of 'leg', 'cheb', 'lag', 'herm', or 'herme'. These additional functions should cover the common multidimensional cases and provide examples for anyone who wants to go to higher dimensions. Commit: a4f51d7fc667d1274df936737f4e258b0e240020 https://github.com/numpy/numpy/commit/a4f51d7fc667d1274df936737f4e258b0e240020 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- ENH: Add functions for producing 2D and 3D pseudo Vandermonde matrices that are useful for least squares fits to data depending on two or three variables using the various polynomial basis. The new functions have names polyvander2d, and polyvander3d, where 'poly' can be replaced by any of 'leg', 'cheb', 'lag', 'herm', or 'herme'. Commit: 8e8b85d404e8453e469b3273528c4dc5f30b819f https://github.com/numpy/numpy/commit/8e8b85d404e8453e469b3273528c4dc5f30b819f Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- ENH: Make derivatives and integrals work on multidimensional array. An axis keyword was added to the function signatures of xxxder and xxxint, where xxx is any of poly, cheb, leg, lag, herm, herme. The evaluation method for the Chebeshev series was also changed to avoid using z_series and to more closely resemble the other implementations. At some point the z_series will be removed from the chebyshev module and only used for trigonometric series. Commit: 26e2ae4b8b55bc82cd46d5d309ac5eced4bc8fe4 https://github.com/numpy/numpy/commit/26e2ae4b8b55bc82cd46d5d309ac5eced4bc8fe4 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- BUG: The derivative tests were using incorrect test coefficients. The coefficients used were [1] + [0]*i instead of [0]*i + [1]. Commit: 266915b2d5480474f9eeb1cb7a11e6753e4fcf2e https://github.com/numpy/numpy/commit/266915b2d5480474f9eeb1cb7a11e6753e4fcf2e Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: Small fixes and additions Where xxx is one of poly, cheb, leg, lag, herm, herme: Refactor xxxval2d, xxxval3d, xxxgrid2d, and xxxgrid3d for clarity. Check that coordinate arrays are compatible in xxxval2d, xxxval3d. Work around einsum bug that affected xxxvander3d. Commit: 00ff295c10c6428e1542b80e7d82ab2c556b3ffd https://github.com/numpy/numpy/commit/00ff295c10c6428e1542b80e7d82ab2c556b3ffd Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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 tests for multidimensional coefficient array functionality. Test the multi-dimensional coefficient array functionality. Reorganize and cleanup some previous tests. Commit: 4dbae53e1a65471f79449eda6be6eb088b5e29fa https://github.com/numpy/numpy/commit/4dbae53e1a65471f79449eda6be6eb088b5e29fa Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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_hermite_e.py Log Message: ----------- ENH: Add companion matrix functions. The new companion matrices are related to the old by a similarity transformation that makes them better conditioned for root finding. In particular, the companion matrices for the orthogonal polynomials are symmetric when the zeros of a single polynomial term is wanted. This produces better zeros for use in Gauss quadrature. Commit: 9906d6d8c113048509f93778946a4c4771c4f6b6 https://github.com/numpy/numpy/commit/9906d6d8c113048509f93778946a4c4771c4f6b6 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_hermite.py Log Message: ----------- BUG: Fix test that was in wrong spot. Commit: c936d86f2e8f7eb1ecde5e2ea522199ced56d05e https://github.com/numpy/numpy/commit/c936d86f2e8f7eb1ecde5e2ea522199ced56d05e Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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 Log Message: ----------- ENH: Add functions for Gauss quadrature and associated weight functions. The new functions for Gauss quadrature are of the form xxxgauss, where xxx is any of cheb, leg, lag, herm, herme. They return the Gauss points and weights for Gauss quadrature of the various orthogonal polynomial types given the degree. They are tested to work up to degree 100. The new functions for the weight are of the form xxxweight, where xxx is any of cheb, leg, lag, herm, herme. They return the value of the weight function for the various orthogonal polynomial types given and array of points. Commit: 1c7d73c6ada2df49d99bce4f931d0eac76322f61 https://github.com/numpy/numpy/commit/1c7d73c6ada2df49d99bce4f931d0eac76322f61 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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 Log Message: ----------- TST: Add tests for Gauss quadrature and weight functions. Commit: a76c3339a9c1f869ec0c5dff7b0379828b3c8598 https://github.com/numpy/numpy/commit/a76c3339a9c1f869ec0c5dff7b0379828b3c8598 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/polytemplate.py Log Message: ----------- ENH: Add static methods basis and cast to the polynomial classes. The new basis method is a convenient way to return an instance of the basis function of given degree for the class. It is intended mostly for pedagogical purposes. The new cast method provides an alternate way to convert an instance of one polynomial class to another. It complements the convert instance method. Commit: 8ad18ab3799d669d93759e7c20ff6457ed1e2bc2 https://github.com/numpy/numpy/commit/8ad18ab3799d669d93759e7c20ff6457ed1e2bc2 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_chebyshev.py A numpy/polynomial/tests/test_classes.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 tests for basis and cast static class methods. A new test file, test_classes, has been added so that conversions between all the class types can be tested. Several tests common to all the classes were also moved to this file. Ideally all the common tests will be moved, but that isn't done yet. Commit: 855ced252054e1049e3179824e27a7ab4f669459 https://github.com/numpy/numpy/commit/855ced252054e1049e3179824e27a7ab4f669459 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_chebyshev.py M numpy/polynomial/tests/test_classes.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: Move more tests into numpy/polynomial/tests/test_classes.py Commit: 2986478463127f4b32d22d80570219a0007898ab https://github.com/numpy/numpy/commit/2986478463127f4b32d22d80570219a0007898ab Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_chebyshev.py M numpy/polynomial/tests/test_classes.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: Finish moving class tests into test_classes. There are currently errors that will be fixed if pull #178 goes in. The tests were also changed to use generators, which makes them run noticeably slower but give better error messages and makes the tests a bit cleaner. Commit: 3c2603f1fe11ef6bc44de1160a7ab43325a35883 https://github.com/numpy/numpy/commit/3c2603f1fe11ef6bc44de1160a7ab43325a35883 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/polytemplate.py Log Message: ----------- HACK: Make __array_priority__ = 1000. This works around changes in the treatment of __array_priority__ that were part of commit 32b32c2. Previously the rop's of the right hand object were called whenever it had the __array_priority__ attribute and was not an ndarray or derived thereof. After the change the object needed to have greater priority, in this case > 0. It isn't clear that the new behavior is the correct one and if it is reverted then setting __array_priority__ back to 0 will provide a test for that decision. Commit: 2e6ef3517c49b0dbd3a9d92d13852b34730ff516 https://github.com/numpy/numpy/commit/2e6ef3517c49b0dbd3a9d92d13852b34730ff516 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: A doc/source/reference/routines.polynomials.chebyshev.rst A doc/source/reference/routines.polynomials.classes.rst A doc/source/reference/routines.polynomials.hermite.rst A doc/source/reference/routines.polynomials.hermite_e.rst A doc/source/reference/routines.polynomials.laguerre.rst A doc/source/reference/routines.polynomials.legendre.rst A doc/source/reference/routines.polynomials.package.rst M doc/source/reference/routines.polynomials.polynomial.rst M doc/source/reference/routines.polynomials.rst M numpy/polynomial/legendre.py Log Message: ----------- DOC: Rearrange the polynomial documents. This is the first step in cleaning up the polynomial documentation and writing an instructional section on the convenience classes. Commit: 6bc4374ff68718a02f254e599bbf34e104b58fbe https://github.com/numpy/numpy/commit/6bc4374ff68718a02f254e599bbf34e104b58fbe Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/source/reference/routines.polynomials.chebyshev.rst M doc/source/reference/routines.polynomials.hermite.rst M doc/source/reference/routines.polynomials.hermite_e.rst M doc/source/reference/routines.polynomials.laguerre.rst M doc/source/reference/routines.polynomials.legendre.rst M doc/source/reference/routines.polynomials.polynomial.rst Log Message: ----------- BUG: Fix up links to classes. The Sphinx markup was incorrect the documentation to the polynomial convenience classes wasn't being generated. Commit: 175d90a3e1aedaecc296e3661df5b18bcf5b1749 https://github.com/numpy/numpy/commit/175d90a3e1aedaecc296e3661df5b18bcf5b1749 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- DOC: Revise documentation for the basic functions. Step 1 in the polynomial package documentation revisions. Commit: 08c8c54051e27f80f7e30646ef367eb709b3e6cf https://github.com/numpy/numpy/commit/08c8c54051e27f80f7e30646ef367eb709b3e6cf Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/source/reference/routines.polynomials.chebyshev.rst M doc/source/reference/routines.polynomials.hermite.rst M doc/source/reference/routines.polynomials.hermite_e.rst M doc/source/reference/routines.polynomials.laguerre.rst M doc/source/reference/routines.polynomials.legendre.rst M doc/source/reference/routines.polynomials.package.rst M doc/source/reference/routines.polynomials.polynomial.rst Log Message: ----------- DOC: Add version added to some of the polynomial package modules. Commit: c462637f9b398600d25ca449aef8586d8d9d6210 https://github.com/numpy/numpy/commit/c462637f9b398600d25ca449aef8586d8d9d6210 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- DOC: Document xxxfit functions in the polynomial package modules. Commit: dc7719f66452288d7c0192f93c07c8b18d870b75 https://github.com/numpy/numpy/commit/dc7719f66452288d7c0192f93c07c8b18d870b75 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- DOC: Finish documenting new functions in the polynomial package. The old functions could use a review, but that isn't pressing. Commit: 9d40c7c809ec974cd616c8afaa2c56c1259c18a9 https://github.com/numpy/numpy/commit/9d40c7c809ec974cd616c8afaa2c56c1259c18a9 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/source/reference/routines.polynomials.rst Log Message: ----------- DOC: Lower toc number of levels. Commit: a0319da8224b88bc305ad741d7f8996097920af6 https://github.com/numpy/numpy/commit/a0319da8224b88bc305ad741d7f8996097920af6 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/polytemplate.py Log Message: ----------- BUG: The polynomial convenience classes let different types interact. In particular for arithmetic where one could end up with a Polynomial type with Chebyshev coefficients after an addition. It is unlikely that that would be done on purpose. The PolyDomain error message was also replaced by a TypeError with an appropriate message. That seems like a better choice. Commit: 4e84ece1f000e6477eb4e3c5b4e2a8480e62e88c https://github.com/numpy/numpy/commit/4e84ece1f000e6477eb4e3c5b4e2a8480e62e88c Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_classes.py Log Message: ----------- TST: Add tests for mismatched types, domains, and windows. Test that those combinations raise ValueError for the arithmetic operations of the convenience classes. Commit: cd8f59d96788a2573a845988594a9fca3507c698 https://github.com/numpy/numpy/commit/cd8f59d96788a2573a845988594a9fca3507c698 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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/polytemplate.py Log Message: ----------- ENH: Add support for NA to the least squares fitting routines. Commit: d305119d2087423169f810e531d7690af44c4079 https://github.com/numpy/numpy/commit/d305119d2087423169f810e531d7690af44c4079 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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 tests for NA support in the polynomial fitting functions. Commit: d3ac8f70813c04b1ebfcb8e94b825f50f6b35a92 https://github.com/numpy/numpy/commit/d3ac8f70813c04b1ebfcb8e94b825f50f6b35a92 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/source/reference/routines.polynomials.classes.rst Log Message: ----------- DOC: Document the use of the polynomial convenience classes. Commit: 9e2fbabc59a6c2f15bd697557e878616b6a166b5 https://github.com/numpy/numpy/commit/9e2fbabc59a6c2f15bd697557e878616b6a166b5 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/release/2.0.0-notes.rst Log Message: ----------- DOC: Document new polynomial package functionality in the release notes. Commit: d41fc4d518cb516c254959ca8c096bc8db2c81e9 https://github.com/numpy/numpy/commit/d41fc4d518cb516c254959ca8c096bc8db2c81e9 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/__init__.py Log Message: ----------- REM: Remove deprecated imports from polynomial package. Commit: cb19ab65dfa741b043892310c1aab18f3d8d7691 https://github.com/numpy/numpy/commit/cb19ab65dfa741b043892310c1aab18f3d8d7691 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/polynomial.py Log Message: ----------- WHT: Whitespace cleanup. Commit: 77b8a2608168235fbb96543ddaac0d7b4ef663ff https://github.com/numpy/numpy/commit/77b8a2608168235fbb96543ddaac0d7b4ef663ff Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_classes.py Log Message: ----------- ENH: Modify test classes to produce more informative test messages. The tests were all generator based and that produced the same message for all the tests when they were run in verbose mode. The quick fix was to use the generator to write named test functions for all the tests. Commit: 88163cb1ffb3a98a4ecc74481312a618813a9f1e https://github.com/numpy/numpy/commit/88163cb1ffb3a98a4ecc74481312a618813a9f1e Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/release/2.0.0-notes.rst Log Message: ----------- DOC: Move removing deprecated imports note to deprecation section. Commit: a4e99a7998a30d8e777510aaa5926b436a844f2b https://github.com/numpy/numpy/commit/a4e99a7998a30d8e777510aaa5926b436a844f2b Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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/polytemplate.py M numpy/polynomial/polyutils.py Log Message: ----------- SPELL: Spellcheck the modules. Clarify an example. Commit: 0402e1c6a5cc5693a1f021446f20baebe9073890 https://github.com/numpy/numpy/commit/0402e1c6a5cc5693a1f021446f20baebe9073890 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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 Log Message: ----------- DOC: Fix cut and paste error, derivative <- integral. Commit: 894d93e98c6b35037829dc4f78fd86245becb7ff https://github.com/numpy/numpy/commit/894d93e98c6b35037829dc4f78fd86245becb7ff Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) 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: ----------- DOC: Clarify the column order of 2-D and 3-D Vandermonde matrices. Commit: 4364975c3b46385e18dfed4a6f54801a0d49bfef https://github.com/numpy/numpy/commit/4364975c3b46385e18dfed4a6f54801a0d49bfef Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/source/reference/routines.polynomials.classes.rst M doc/source/reference/routines.polynomials.hermite.rst M doc/source/reference/routines.polynomials.hermite_e.rst Log Message: ----------- DOC: Improve numpy reference documentation of polynomial classes. Add more explanation of what happens in polynomial substitution and also of its use in casting between types. Clean up some rst glitches. Commit: b7a5b170ff68fc502e4fbc5055d23a8ed082482a https://github.com/numpy/numpy/commit/b7a5b170ff68fc502e4fbc5055d23a8ed082482a Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/polynomial.py Log Message: ----------- DOC: Fix bogus output in polyval example. Commit: 356537c381ef49db349214b5a8f918c80cd8cb1c https://github.com/numpy/numpy/commit/356537c381ef49db349214b5a8f918c80cd8cb1c Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M numpy/polynomial/tests/test_classes.py Log Message: ----------- TST: Remove docstring from test_class_methods. And don't use the 'exec' statement to write the tests. Commit: 55472ca381c472d86ebb899cb2d786e8e9be8ba5 https://github.com/numpy/numpy/commit/55472ca381c472d86ebb899cb2d786e8e9be8ba5 Author: Charles Harris Date: 2012-01-09 (Mon, 09 Jan 2012) Changed paths: M doc/release/2.0.0-notes.rst A doc/source/reference/routines.polynomials.chebyshev.rst A doc/source/reference/routines.polynomials.classes.rst A doc/source/reference/routines.polynomials.hermite.rst A doc/source/reference/routines.polynomials.hermite_e.rst A doc/source/reference/routines.polynomials.laguerre.rst A doc/source/reference/routines.polynomials.legendre.rst A doc/source/reference/routines.polynomials.package.rst M doc/source/reference/routines.polynomials.polynomial.rst M doc/source/reference/routines.polynomials.rst M numpy/polynomial/__init__.py 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/polytemplate.py M numpy/polynomial/polyutils.py M numpy/polynomial/tests/test_chebyshev.py A numpy/polynomial/tests/test_classes.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 branch 'pull-181' * pull-181: (39 commits) TST: Remove docstring from test_class_methods. DOC: Fix bogus output in polyval example. DOC: Improve numpy reference documentation of polynomial classes. DOC: Clarify the column order of 2-D and 3-D Vandermonde matrices. DOC: Fix cut and paste error, derivative <- integral. SPELL: Spellcheck the modules. Clarify an example. DOC: Move removing deprecated imports note to deprecation section. ENH: Modify test classes to produce more informative test messages. WHT: Whitespace cleanup. REM: Remove deprecated imports from polynomial package. DOC: Document new polynomial package functionality in the release notes. DOC: Document the use of the polynomial convenience classes. TST: Add tests for NA support in the polynomial fitting functions. ENH: Add support for NA to the least squares fitting routines. TST: Add tests for mismatched types, domains, and windows. BUG: The polynomial convenience classes let different types interact. DOC: Lower toc number of levels. DOC: Finish documenting new functions in the polynomial package. DOC: Document xxxfit functions in the polynomial package modules. DOC: Add version added to some of the polynomial package modules. ... Compare: https://github.com/numpy/numpy/compare/b817938...55472ca From noreply at github.com Fri Jan 20 20:08:27 2012 From: noreply at github.com (GitHub) Date: Fri, 20 Jan 2012 17:08:27 -0800 Subject: [Numpy-svn] [numpy/numpy] d3cef4: BUG: Make output of 'astype' method a maskna array... Message-ID: <4f1a100b6f284_79793fa2f1dc5af42442c@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d3cef4f979eeff01fd0127bd4592e98d8a927587 https://github.com/numpy/numpy/commit/d3cef4f979eeff01fd0127bd4592e98d8a927587 Author: Charles Harris Date: 2012-01-20 (Fri, 20 Jan 2012) Changed paths: M numpy/core/src/multiarray/methods.c Log Message: ----------- BUG: Make output of 'astype' method a maskna array if source array is. Commit: 8a4ebf4c800a8f734b3bd620917b4823a2c87e10 https://github.com/numpy/numpy/commit/8a4ebf4c800a8f734b3bd620917b4823a2c87e10 Author: Charles Harris Date: 2012-01-20 (Fri, 20 Jan 2012) Changed paths: M numpy/core/tests/test_maskna.py Log Message: ----------- TST: Test that 'astype' method works for maskna arrays with masked values. Commit: 6666eecf374153d949c9a9bfec2e4577b979c3f1 https://github.com/numpy/numpy/commit/6666eecf374153d949c9a9bfec2e4577b979c3f1 Author: Charles Harris Date: 2012-01-20 (Fri, 20 Jan 2012) Changed paths: M numpy/core/tests/test_maskna.py Log Message: ----------- STY: Double space between main test functions. Compare: https://github.com/numpy/numpy/compare/55472ca...6666eec From noreply at github.com Sat Jan 21 12:29:08 2012 From: noreply at github.com (GitHub) Date: Sat, 21 Jan 2012 09:29:08 -0800 Subject: [Numpy-svn] [numpy/numpy] d36e07: BUG: Fix ticket #2021. Message-ID: <4f1af5e4baa0e_6de63fecc78cc2f814349a@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d36e076f0559157745c8cc0186a8484081e55a1d https://github.com/numpy/numpy/commit/d36e076f0559157745c8cc0186a8484081e55a1d Author: Charles Harris Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/item_selection.c M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Fix ticket #2021. The return from PyArray_DescrFromObject PyArray_SearchSorted needed to be checked for NULL. Also added checks in other spots where PyArray_DescrFromObject was called. Added regression test for same. Made a few small code cleanups along the way. All the checks may not be necessary, but 1) No one should have to waste brain cycles figuring that out. 2) Bugs happen. 3) Things change. From noreply at github.com Sat Jan 21 13:34:03 2012 From: noreply at github.com (GitHub) Date: Sat, 21 Jan 2012 10:34:03 -0800 Subject: [Numpy-svn] [numpy/numpy] d389db: Fixed RandomState docstrings. Message-ID: <4f1b051b2c8e0_67e93ffac836bafc7412@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d389db548062fafd202c25b94d3d3e276d6b9727 https://github.com/numpy/numpy/commit/d389db548062fafd202c25b94d3d3e276d6b9727 Author: Joonas Paalasmaa Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/random/mtrand/mtrand.pyx Log Message: ----------- Fixed RandomState docstrings. Commit: 2f9ed8dc99f4553c4a1f9a670ca31354b61399a7 https://github.com/numpy/numpy/commit/2f9ed8dc99f4553c4a1f9a670ca31354b61399a7 Author: Charles Harris Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/random/mtrand/mtrand.c Log Message: ----------- PYX: Regenerate mtrand.c Compare: https://github.com/numpy/numpy/compare/d36e076...2f9ed8d From noreply at github.com Sat Jan 21 21:18:33 2012 From: noreply at github.com (GitHub) Date: Sat, 21 Jan 2012 18:18:33 -0800 Subject: [Numpy-svn] [numpy/numpy] aea993: BUG: Change nditer to match documentation about gr... Message-ID: <4f1b71f9e1853_7fbe3ff4433862fc13225f@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: aea993c4a36cf91f93e31fcf2cdbfa0843e787b0 https://github.com/numpy/numpy/commit/aea993c4a36cf91f93e31fcf2cdbfa0843e787b0 Author: Mark Wiebe Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- BUG: Change nditer to match documentation about grow_inner flag Commit: 7d909e34332a2f97250c68b9852298a621368457 https://github.com/numpy/numpy/commit/7d909e34332a2f97250c68b9852298a621368457 Author: Mark Wiebe Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/core/src/multiarray/einsum.c.src Log Message: ----------- BUG: einsum: Fix issue #2027, inner loop 3rd data pointer was not being incremented Commit: e74585da4b5519115995cbca915e69b48370a162 https://github.com/numpy/numpy/commit/e74585da4b5519115995cbca915e69b48370a162 Author: Mark Wiebe Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/core/tests/test_einsum.py Log Message: ----------- TST: Add a test for ticket #2027 Commit: 4fcb53ee59a7c4b0bfc7b3c2d2f7b18d9f93bfaa https://github.com/numpy/numpy/commit/4fcb53ee59a7c4b0bfc7b3c2d2f7b18d9f93bfaa Author: Mark Wiebe Date: 2012-01-21 (Sat, 21 Jan 2012) Changed paths: M numpy/core/src/multiarray/einsum.c.src M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/tests/test_einsum.py Log Message: ----------- Merge branch 'ticket_2027' Compare: https://github.com/numpy/numpy/compare/2f9ed8d...4fcb53e From noreply at github.com Wed Jan 25 01:57:00 2012 From: noreply at github.com (GitHub) Date: Tue, 24 Jan 2012 22:57:00 -0800 Subject: [Numpy-svn] [numpy/numpy] 178bd8: BUG: PyArray_GetMap using low-precision counter Message-ID: <4f1fa7bcd8953_7c5f3fc501e9eafc119899@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 178bd8b4a668328f27886f218be0e337c21952ba https://github.com/numpy/numpy/commit/178bd8b4a668328f27886f218be0e337c21952ba Author: David Warde-Farley Date: 2012-01-24 (Tue, 24 Jan 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: PyArray_GetMap using low-precision counter Should be using npy_intp rather than int. Commit: 65d300597b6fad1c1df5c5edef4f00bfb80c0af3 https://github.com/numpy/numpy/commit/65d300597b6fad1c1df5c5edef4f00bfb80c0af3 Author: David Warde-Farley Date: 2012-01-24 (Tue, 24 Jan 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Fix identical int->npy_intp in PyArray_SetMap Thanks to Christoph Gohlke for pointing this out. Commit: aad737eb4b5ffb3429ca46c9791c9d87572c3550 https://github.com/numpy/numpy/commit/aad737eb4b5ffb3429ca46c9791c9d87572c3550 Author: Travis E. Oliphant Date: 2012-01-24 (Tue, 24 Jan 2012) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- Merge pull request #188 from dwf/getmap_counter_precision_bug BUG: PyArray_{Get,Set}Map counter types are "int", should be "npy_intp" Compare: https://github.com/numpy/numpy/compare/4fcb53e...aad737e From noreply at github.com Fri Jan 27 20:33:04 2012 From: noreply at github.com (GitHub) Date: Fri, 27 Jan 2012 17:33:04 -0800 Subject: [Numpy-svn] [numpy/numpy] b95db7: BUG: multiarray: in array_setscalar, check that th... Message-ID: <4f23505098706_5bc13fcbc17deafc55563@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b95db7f9c39fc8f6d84077578b370d0c766fa819 https://github.com/numpy/numpy/commit/b95db7f9c39fc8f6d84077578b370d0c766fa819 Author: Warren Weckesser Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/core/src/multiarray/methods.c Log Message: ----------- BUG: multiarray: in array_setscalar, check that the array is writeable (ticket #1622) Commit: da2962c649ae66dd551ba6f2c2d71cb4609ffcf2 https://github.com/numpy/numpy/commit/da2962c649ae66dd551ba6f2c2d71cb4609ffcf2 Author: Warren Weckesser Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/core/tests/test_multiarray.py Log Message: ----------- TST: add a test that itemset raises an exception when the array is not writeable Commit: 5547a9b428cb01b2f5909952c434a42626c6c959 https://github.com/numpy/numpy/commit/5547a9b428cb01b2f5909952c434a42626c6c959 Author: Charles Harris Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/core/src/multiarray/methods.c Log Message: ----------- STY: Merge some error strings into single lines. Compare: https://github.com/numpy/numpy/compare/aad737e...5547a9b From noreply at github.com Fri Jan 27 20:49:32 2012 From: noreply at github.com (GitHub) Date: Fri, 27 Jan 2012 17:49:32 -0800 Subject: [Numpy-svn] [numpy/numpy] b5959b: DOC: Fix docstrings of rand and randn a bit more a... Message-ID: <4f23542c93036_57283fc64a33eaf079743@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b5959b60b969f512d125d87f09e49a503b88b299 https://github.com/numpy/numpy/commit/b5959b60b969f512d125d87f09e49a503b88b299 Author: Charles Harris Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/random/mtrand/mtrand.c M numpy/random/mtrand/mtrand.pyx Log Message: ----------- DOC: Fix docstrings of rand and randn a bit more and regenerate. From noreply at github.com Fri Jan 27 21:54:28 2012 From: noreply at github.com (GitHub) Date: Fri, 27 Jan 2012 18:54:28 -0800 Subject: [Numpy-svn] [numpy/numpy] 085883: STY, BUG: Cleanup some macros and move a NULL chec... Message-ID: <4f2363642b2eb_57283fc64a33eaf0947df@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0858831eaab3ce46bab4b3a3cc35b6cc6ee19f08 https://github.com/numpy/numpy/commit/0858831eaab3ce46bab4b3a3cc35b6cc6ee19f08 Author: Alok Singhal Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/numpyos.c Log Message: ----------- STY, BUG: Cleanup some macros and move a NULL check. Some macros are changed into statements with the {...}do while(0) construction, while a few others have had the trailing semicolon removed. This makes the macro usage a bit safer and more consistent, but it is possible some third party code will be affected. A NULL check was moved ahead of the spot where the variable is first used. Commit: 7bb277bacb92fcbb1ab2980234fe033dcc70d628 https://github.com/numpy/numpy/commit/7bb277bacb92fcbb1ab2980234fe033dcc70d628 Author: Charles Harris Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M doc/release/2.0.0-notes.rst Log Message: ----------- DOC: Document macro changes in release notes. Compare: https://github.com/numpy/numpy/compare/b5959b6...7bb277b From noreply at github.com Fri Jan 27 23:08:32 2012 From: noreply at github.com (GitHub) Date: Fri, 27 Jan 2012 20:08:32 -0800 Subject: [Numpy-svn] [numpy/numpy] 06d947: ENH: Support datetime64, timedelta64 in gradient. ... Message-ID: <4f2374c045fc8_5a403fd0c26d1af06432c@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 06d947c51726c303cc5c30f16643903d89da7207 https://github.com/numpy/numpy/commit/06d947c51726c303cc5c30f16643903d89da7207 Author: Ben Root Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/lib/function_base.py Log Message: ----------- ENH: Support datetime64, timedelta64 in gradient. Allow array-like input. Commit: 9e2fd1066c92876bf1f3272ba1edf1acee9f0d04 https://github.com/numpy/numpy/commit/9e2fd1066c92876bf1f3272ba1edf1acee9f0d04 Author: Ben Root Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- TST: Test gradient(...) of datetime64 and timedelta64 arrays. Compare: https://github.com/numpy/numpy/compare/7bb277b...9e2fd10 From noreply at github.com Sat Jan 28 00:57:06 2012 From: noreply at github.com (GitHub) Date: Fri, 27 Jan 2012 21:57:06 -0800 Subject: [Numpy-svn] [numpy/numpy] 3a86a9: Merge remote-tracking branch 'dwf/release_gil_in_l... Message-ID: <4f238e3284a95_2d123f8bae05d2f436066f@sh1.rs.github.com.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3a86a97eb728a12c562578ea6e1f99c5f9b45620 https://github.com/numpy/numpy/commit/3a86a97eb728a12c562578ea6e1f99c5f9b45620 Author: Mark Wiebe Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- Merge remote-tracking branch 'dwf/release_gil_in_libfunctions' Commit: 7a6239e51c844b2822ec30c2602bae7aff85689b https://github.com/numpy/numpy/commit/7a6239e51c844b2822ec30c2602bae7aff85689b Author: Mark Wiebe Date: 2012-01-27 (Fri, 27 Jan 2012) Changed paths: M numpy/lib/src/_compiled_base.c Log Message: ----------- STY: Add comment and rename monotonic_ functino to be more descriptive Compare: https://github.com/numpy/numpy/compare/9e2fd10...7a6239e