<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/polynomial/tests, branch eric-wieser-patch-1</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>BUG: polyval returned Non-Masked Arrays for Masked Input.</title>
<updated>2018-10-21T20:18:34+00:00</updated>
<author>
<name>Joachim Hereth</name>
<email>joachim.hereth@numberfour.eu</email>
</author>
<published>2018-10-21T20:18:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=af6cb03920f3ae62cb8a8c871edeccbcd8609955'/>
<id>af6cb03920f3ae62cb8a8c871edeccbcd8609955</id>
<content type='text'>
This fix will preserve subtypes of ndarray when given as input (x)
to the polyval function. In particular, the results for masked
values of a masked array will be masked.

Fixes #2477.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fix will preserve subtypes of ndarray when given as input (x)
to the polyval function. In particular, the results for masked
values of a masked array will be masked.

Fixes #2477.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: use reduce's defaul param rather than a ternary operator</title>
<updated>2018-08-26T21:53:23+00:00</updated>
<author>
<name>Jeffrey Yancey</name>
<email>jeffrey@octane5.com</email>
</author>
<published>2018-08-26T21:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4c8e91e6ad07fcae15888ae9c78338f37f3d77ae'/>
<id>4c8e91e6ad07fcae15888ae9c78338f37f3d77ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: add missing tests for all polynomial subclass pow fns.</title>
<updated>2018-08-26T20:50:37+00:00</updated>
<author>
<name>Jeffrey Yancey</name>
<email>jeffrey@octane5.com</email>
</author>
<published>2018-08-26T20:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=bfc0020621a931726e219a013e08e9f96e767a33'/>
<id>bfc0020621a931726e219a013e08e9f96e767a33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add support for ipython latex printing to polynomial</title>
<updated>2018-08-12T21:27:39+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-07-07T05:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e6e60c02e2c8833e45eab575732011e75b5b7c73'/>
<id>e6e60c02e2c8833e45eab575732011e75b5b7c73</id>
<content type='text'>
Choices made, and the alternatives rejected (for no particularly strong reason):

1. Show terms in ascending order, to match their internal representation
  * alternative: descending, to match convention
2. Shows 0 terms in gray
  * alternative: omit entirely
  * alternative: show normally to aid comparison
3. Write each term as `basis(ax + b)
  * alternative: write as `basis(u) ... where u = ax + b`
  * alternative: show the normalized polynomial

In future it would perhaps make sense to expose these options to the end user
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Choices made, and the alternatives rejected (for no particularly strong reason):

1. Show terms in ascending order, to match their internal representation
  * alternative: descending, to match convention
2. Shows 0 terms in gray
  * alternative: omit entirely
  * alternative: show normally to aid comparison
3. Write each term as `basis(ax + b)
  * alternative: write as `basis(u) ... where u = ax + b`
  * alternative: show the normalized polynomial

In future it would perhaps make sense to expose these options to the end user
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: move matrix tests in core, polynomial to matrixlib.</title>
<updated>2018-04-29T21:37:50+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2018-04-29T19:24:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d7e0c7e34b293ab32a46960c65d063446115d4e8'/>
<id>d7e0c7e34b293ab32a46960c65d063446115d4e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Replace yield tests in polynomial/tests/test_classes.</title>
<updated>2018-04-08T14:52:04+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-07T16:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8ccaac7c7814181b1d0b4e14b9cb08f85573386b'/>
<id>8ccaac7c7814181b1d0b4e14b9cb08f85573386b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove all uses of run_module_suite.</title>
<updated>2018-04-07T00:20:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-04T16:33:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7bf0564f87511d9e7b6287b3eec0857d0d7742df'/>
<id>7bf0564f87511d9e7b6287b3eec0857d0d7742df</id>
<content type='text'>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Do not use random when testing roots.</title>
<updated>2018-02-16T17:35:08+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-02-16T17:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ef387dcb3c369c513ca0e77821b029cc2c267cfa'/>
<id>ef387dcb3c369c513ca0e77821b029cc2c267cfa</id>
<content type='text'>
The `check_roots` function in numpy/polynomial/tests/test_classes.py was
using random numbers without a seed to generate the random roots to be
checked. This made the test sensitive to the random state, with the
result that currently two of the roots are close together and fail the
test to the default seven digit precision when running on the Mac.  The
failure is probably due to a combination of library and compiler
differences between the Mac and the other platforms tested.. The fix
here is to hardwire the test values rather than use random numbers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `check_roots` function in numpy/polynomial/tests/test_classes.py was
using random numbers without a seed to generate the random roots to be
checked. This made the test sensitive to the random state, with the
result that currently two of the roots are close together and fail the
test to the default seven digit precision when running on the Mac.  The
failure is probably due to a combination of library and compiler
differences between the Mac and the other platforms tested.. The fix
here is to hardwire the test values rather than use random numbers.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add tests for `lbnd` and `scl` in polynomial integration.</title>
<updated>2017-10-26T19:26:46+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-10-26T19:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=050cd172585c25e76c0d7f06999ddab70e31ee1a'/>
<id>050cd172585c25e76c0d7f06999ddab70e31ee1a</id>
<content type='text'>
The `lbnd` and `scl` parameters of the various polynomial integration
functions  are documented to be scalars. Add tests that those parameters
are checked and ValueError raised when it is not so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `lbnd` and `scl` parameters of the various polynomial integration
functions  are documented to be scalars. Add tests that those parameters
are checked and ValueError raised when it is not so.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: update tests to remove unneeded whitespace</title>
<updated>2017-09-26T01:20:37+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2017-05-18T19:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3eed3a26bef80c0bd5ae380337358b7a55bde8de'/>
<id>3eed3a26bef80c0bd5ae380337358b7a55bde8de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
