<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/lib/polynomial.py, branch v1.22.0rc2</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>DOC: Do not leave space between directive name and double colon.</title>
<updated>2021-11-03T16:51:56+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2021-11-03T16:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=167539e4c2fdc6b77d6c73c9eebfa77e1507423e'/>
<id>167539e4c2fdc6b77d6c73c9eebfa77e1507423e</id>
<content type='text'>
From my regular expression foo, those are the only 9 case whereas there
are about ~2000 usage that do not have spaces.

While this is ok with docutils/sphinx, it does not seem to be
documented, and that means that other parsers will see that as comments,
leading to for example improper syntax highlighting.

This make it also a tiny bit harder to develop alternative rst parsers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From my regular expression foo, those are the only 9 case whereas there
are about ~2000 usage that do not have spaces.

While this is ok with docutils/sphinx, it does not seem to be
documented, and that means that other parsers will see that as comments,
leading to for example improper syntax highlighting.

This make it also a tiny bit harder to develop alternative rst parsers.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: fix formatting of a return value of polynomial fit methods</title>
<updated>2021-09-21T08:18:08+00:00</updated>
<author>
<name>Samyak S Sarnayak</name>
<email>samyak201@gmail.com</email>
</author>
<published>2021-09-20T14:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=89df711a83b1cb34457bd49c73085811dcf46783'/>
<id>89df711a83b1cb34457bd49c73085811dcf46783</id>
<content type='text'>
Fixes #19897

The 2nd return value of the following methods/functions were badly
formatted and the list was all appearing in a single line. Changed them
to separate points which are rendered nicely.
 - numpy.polyfit
 - numpy.ma.polyfit
 - numpy.polynomial.polynomial.polyfit
 - numpy.polynomial.polynomial.Polynomial.fit
 - numpy.polynomial.chebyshev.chebfit
 - numpy.polynomial.chebyshev.Chebyshev.fit
 - numpy.polynomial.hermite.hermfit
 - numpy.polynomial.hermite.Hermite.fit
 - numpy.polynomial.hermite_e.hermefit
 - numpy.polynomial.hermite_e.HermiteE.fit
 - numpy.polynomial.laguerre.lagfit
 - numpy.polynomial.laguerre.Laguerre.fit
 - numpy.polynomial.legendre.legfit
 - numpy.polynomial.legendre.Legendre.fit

Also fixed erroneous links to `numpy.full` which were actually referring
to the `full` argument. Changed those to code strings (double backticks)
from single backticks.

Also fixed formatting issues in the 3rd return value of numpy.polyfit
(and hence also numpy.ma.polyfit).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #19897

The 2nd return value of the following methods/functions were badly
formatted and the list was all appearing in a single line. Changed them
to separate points which are rendered nicely.
 - numpy.polyfit
 - numpy.ma.polyfit
 - numpy.polynomial.polynomial.polyfit
 - numpy.polynomial.polynomial.Polynomial.fit
 - numpy.polynomial.chebyshev.chebfit
 - numpy.polynomial.chebyshev.Chebyshev.fit
 - numpy.polynomial.hermite.hermfit
 - numpy.polynomial.hermite.Hermite.fit
 - numpy.polynomial.hermite_e.hermefit
 - numpy.polynomial.hermite_e.HermiteE.fit
 - numpy.polynomial.laguerre.lagfit
 - numpy.polynomial.laguerre.Laguerre.fit
 - numpy.polynomial.legendre.legfit
 - numpy.polynomial.legendre.Legendre.fit

Also fixed erroneous links to `numpy.full` which were actually referring
to the `full` argument. Changed those to code strings (double backticks)
from single backticks.

Also fixed formatting issues in the 3rd return value of numpy.polyfit
(and hence also numpy.ma.polyfit).
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: refactor "for ... in range(len(" statements</title>
<updated>2021-09-01T09:50:59+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2021-08-29T23:01:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=64f15a94708095bf9d29af5dbfcc4b654a57248a'/>
<id>64f15a94708095bf9d29af5dbfcc4b654a57248a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Adjust polyfit doc to clarify the meaning of w (#18421)</title>
<updated>2021-06-08T11:41:59+00:00</updated>
<author>
<name>Mike Jarvis</name>
<email>michael@jarvis.net</email>
</author>
<published>2021-06-08T11:41:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5c4aac16b54284a59bc5af34e731be7299cbb1d1'/>
<id>5c4aac16b54284a59bc5af34e731be7299cbb1d1</id>
<content type='text'>
* DOC: Adjust polyfit doc to clarify the meaning of w

cov='unscaled', in particular, had inconsistently referred to a weight
of 1/sigma**2, while the doc for w says it should be equal to 1/sigma.
This change clarifies w to comport with more typical meanings of
weights in weighted least squares, and makes clear that cov='unscaled'
is appropriate when the weight w**2 = 1/sigma**2.

See Issue #5261 for more discussion of the errors/confusion in
the previous doc string.

* Update doc text for w in all polynomial module fit functions

Co-authored-by: Stefan van der Walt &lt;sjvdwalt@gmail.com&gt;
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC: Adjust polyfit doc to clarify the meaning of w

cov='unscaled', in particular, had inconsistently referred to a weight
of 1/sigma**2, while the doc for w says it should be equal to 1/sigma.
This change clarifies w to comport with more typical meanings of
weights in weighted least squares, and makes clear that cov='unscaled'
is appropriate when the weight w**2 = 1/sigma**2.

See Issue #5261 for more discussion of the errors/confusion in
the previous doc string.

* Update doc text for w in all polynomial module fit functions

Co-authored-by: Stefan van der Walt &lt;sjvdwalt@gmail.com&gt;
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fixed an issue wherein `poly1d.__getitem__` could return scalars of the wrong dtype</title>
<updated>2021-05-28T09:56:02+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2021-05-28T09:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7afe53c6511c521f942e706051240e8e319d1c29'/>
<id>7afe53c6511c521f942e706051240e8e319d1c29</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: regex char class improve</title>
<updated>2020-12-28T18:00:03+00:00</updated>
<author>
<name>Tyler Reddy</name>
<email>tyler.je.reddy@gmail.com</email>
</author>
<published>2020-12-28T18:00:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e63001a5701da3c3c1ac29c9e4bbe225f062a653'/>
<id>e63001a5701da3c3c1ac29c9e4bbe225f062a653</id>
<content type='text'>
* replace superfluous single-character regex character
classes with their literal string equivalents; this
avoids the overhead associated with a character class
when there's only a single character enclosed (so there's
no benefit to the class overhead)

* for more information see:
Chapter 6 of:
Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed.,
O’Reilly Media, 2009.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* replace superfluous single-character regex character
classes with their literal string equivalents; this
avoids the overhead associated with a character class
when there's only a single character enclosed (so there's
no benefit to the class overhead)

* for more information see:
Chapter 6 of:
Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed.,
O’Reilly Media, 2009.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix a couple of reference to verbatim and vice versa</title>
<updated>2020-12-19T04:49:36+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2020-12-14T01:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609'/>
<id>09cbb7495b92a37ddfb5e7d1bc2e9964bc6a0609</id>
<content type='text'>
This update a coupe of references (single backticks) that actually are not to
verbatim/code (double backticks); and a couple of verbatim to reference
when they do actually exists and can be resolved in context.

I probably missed other; and stayed simple but spoted a few other
inconsistencies that I did not fix:

  - some ``...`` could actually be :math:`...` but not always clear if
  it would be better.
  - some intervals are [``...``], other are ``[...]``

I guess they could be discussed individually; it was mostly the failing
references that bothered me.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This update a coupe of references (single backticks) that actually are not to
verbatim/code (double backticks); and a couple of verbatim to reference
when they do actually exists and can be resolved in context.

I probably missed other; and stayed simple but spoted a few other
inconsistencies that I did not fix:

  - some ``...`` could actually be :math:`...` but not always clear if
  it would be better.
  - some intervals are [``...``], other are ``[...]``

I guess they could be discussed individually; it was mostly the failing
references that bothered me.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix doctests</title>
<updated>2020-10-24T14:17:09+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2020-10-24T14:17:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f7eed258a49edc9d6a3c2500e8f09ba48f4a8e4b'/>
<id>f7eed258a49edc9d6a3c2500e8f09ba48f4a8e4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use integer literal instead of float</title>
<updated>2020-10-18T18:11:47+00:00</updated>
<author>
<name>Cameron Blocker</name>
<email>cameronjblocker@gmail.com</email>
</author>
<published>2020-10-18T18:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=10d28b6dc9cda2be1ca1236515a5936c3571207b'/>
<id>10d28b6dc9cda2be1ca1236515a5936c3571207b</id>
<content type='text'>
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Respect dtype of all-zero argument to poly1d</title>
<updated>2020-10-17T23:00:00+00:00</updated>
<author>
<name>Cameron Blocker</name>
<email>cameronjblocker@gmail.com</email>
</author>
<published>2020-10-17T23:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=56dedfc23f8f4ee0ce17c710b505254528566960'/>
<id>56dedfc23f8f4ee0ce17c710b505254528566960</id>
<content type='text'>
Fixes gh-16354. Previously np.poly1d(z).coeffs.dtype would always
be np.float64 for zero array z, regardless of z's dtype.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes gh-16354. Previously np.poly1d(z).coeffs.dtype would always
be np.float64 for zero array z, regardless of z's dtype.
</pre>
</div>
</content>
</entry>
</feed>
