[Numpy-svn] [numpy/numpy] 503779: ENH: Add some tests for polynomial printing.

GitHub noreply at github.com
Fri May 4 15:42:12 EDT 2012


  Branch: refs/heads/maintenance/1.6.x
  Home:   https://github.com/numpy/numpy
  Commit: 503779318966d10bd8caf8d37beb4d39d549acdc
      https://github.com/numpy/numpy/commit/503779318966d10bd8caf8d37beb4d39d549acdc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 2012)

  Changed paths:
    A numpy/polynomial/tests/test_printing.py

  Log Message:
  -----------
  ENH: Add some tests for polynomial printing.


  Commit: 5bc40dcd6d9b05753d7802ac8adbf364039461bc
      https://github.com/numpy/numpy/commit/5bc40dcd6d9b05753d7802ac8adbf364039461bc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: b47abd6367c20f1ca1d52601db0187207bedd61f
      https://github.com/numpy/numpy/commit/b47abd6367c20f1ca1d52601db0187207bedd61f
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: 8b5eb677e13480ab6d455885d6b55896e2c74efc
      https://github.com/numpy/numpy/commit/8b5eb677e13480ab6d455885d6b55896e2c74efc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: 45a42d2016030df621b2c17e2a82ba459158945e
      https://github.com/numpy/numpy/commit/45a42d2016030df621b2c17e2a82ba459158945e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: b4a3beb6a89d8a52d138b40b783fd87ee14084fd
      https://github.com/numpy/numpy/commit/b4a3beb6a89d8a52d138b40b783fd87ee14084fd
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: 75519d5f2e733d0975621b81ef8cd50fd254b116
      https://github.com/numpy/numpy/commit/75519d5f2e733d0975621b81ef8cd50fd254b116
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: e1cec071ced44508ad9040319d79ca1caced5837
      https://github.com/numpy/numpy/commit/e1cec071ced44508ad9040319d79ca1caced5837
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 2012)

  Changed paths:
    M doc/source/reference/routines.polynomials.classes.rst

  Log Message:
  -----------
  DOC: Document the use of the polynomial convenience classes.


  Commit: 51f898919a97a7b5900e5a1b26b540a4d5664e9e
      https://github.com/numpy/numpy/commit/51f898919a97a7b5900e5a1b26b540a4d5664e9e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: 628c7865726ed6fbbb17946922d5775f5f9cbdb0
      https://github.com/numpy/numpy/commit/628c7865726ed6fbbb17946922d5775f5f9cbdb0
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: Improve the computation of polynomials from roots.

The original method was overly sensitive to roundoff. Of the two
approaches considered, gauss integration or binary subdivision of
the roots, the latter is more compatible with using other number
representations such as mpmath. No method is going to be suitable
for large numbers of arbitrary zeros but the current method is a
significant improvement.


  Commit: a70a5994cb2f30bae3f16fc50f4cd98205d9fb68
      https://github.com/numpy/numpy/commit/a70a5994cb2f30bae3f16fc50f4cd98205d9fb68
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 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: Code cleanup in polynomial [*]fromroots functions.

Use divmod instead of // and % separately.


  Commit: d031a9875ca31ad6eec5d5f3a9dc36ef6d303887
      https://github.com/numpy/numpy/commit/d031a9875ca31ad6eec5d5f3a9dc36ef6d303887
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-29 (Sun, 29 Apr 2012)

  Changed paths:
    M doc/source/reference/routines.polynomials.classes.rst

  Log Message:
  -----------
  DOC: Remove references to cast and NA, which were added in 1.7.


  Commit: 8cc4a7d21a7b4bef7c6468c526019b1603995c1b
      https://github.com/numpy/numpy/commit/8cc4a7d21a7b4bef7c6468c526019b1603995c1b
  Author: Ralf Gommers <ralf.gommers at googlemail.com>
  Date:   2012-05-04 (Fri, 04 May 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/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/tests/test_hermite_e.py
    A numpy/polynomial/tests/test_printing.py

  Log Message:
  -----------
  Merge pull request #263 from charris/backport-poly

Backport numpy.poly bug fixes and documentation improvements.


Compare: https://github.com/numpy/numpy/compare/a16a430...8cc4a7d


More information about the Numpy-svn mailing list