<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/polynomial/polynomial.py, branch meson</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: Replace the mathematical notation N(...) with text.</title>
<updated>2022-06-27T03:47:43+00:00</updated>
<author>
<name>warren</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2022-06-27T03:47:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4f479744bb9f5150d1406fdb0203c5d8714e7283'/>
<id>4f479744bb9f5150d1406fdb0203c5d8714e7283</id>
<content type='text'>
The meaning of the second argument in the mathematical notation
N(mu, b) for the normal distribution is not consistent. In some
references it is the variance while in others it is the standard
deviation.  Let's avoid the ambiguity by not using the notation.

Fixes #21296
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The meaning of the second argument in the mathematical notation
N(mu, b) for the normal distribution is not consistent. In some
references it is the variance while in others it is the standard
deviation.  Let's avoid the ambiguity by not using the notation.

Fixes #21296
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: limit the number of decimals in Polynomial representation (#21654)</title>
<updated>2022-06-14T16:58:32+00:00</updated>
<author>
<name>Lev Maximov</name>
<email>axil.github@gmail.com</email>
</author>
<published>2022-06-14T16:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a5535dc6242b0decae1e65a3d4feb220fefedc49'/>
<id>a5535dc6242b0decae1e65a3d4feb220fefedc49</id>
<content type='text'>
* limit the number of decimals in Polynomial representation

* tests pass

* parenthesize exponential notation in polynomials

* fixed a long line warning

* added polynomial printoptions tests

* polynomial printoptions typo fixed

* made switch to exp notation in polynomial display more natural

* added a test on switching polynomials to exp notation

* fixed linter errors/warnings

* support for nanstr and infstr printoptions in polynomials

* 10^8 threshold for switching to exp notation when displaying polynomials

* merged in PR #21696 fixing issue #21695

* made linter happy

* made some docstring tests pass

* fixed the docs

Co-authored-by: Lev Maximov &lt;lev.maximov@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* limit the number of decimals in Polynomial representation

* tests pass

* parenthesize exponential notation in polynomials

* fixed a long line warning

* added polynomial printoptions tests

* polynomial printoptions typo fixed

* made switch to exp notation in polynomial display more natural

* added a test on switching polynomials to exp notation

* fixed linter errors/warnings

* support for nanstr and infstr printoptions in polynomials

* 10^8 threshold for switching to exp notation when displaying polynomials

* merged in PR #21696 fixing issue #21695

* made linter happy

* made some docstring tests pass

* fixed the docs

Co-authored-by: Lev Maximov &lt;lev.maximov@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: imbalanced backticks (#21020)</title>
<updated>2022-02-09T13:47:24+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2022-02-09T13:47:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=51abd9693a78907f2ca7dfacee2017ef44fb9f49'/>
<id>51abd9693a78907f2ca7dfacee2017ef44fb9f49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>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>DOC: Update reference to verbatim in a few location.</title>
<updated>2020-12-29T06:15:34+00:00</updated>
<author>
<name>Matthias Bussonnier</name>
<email>bussonniermatthias@gmail.com</email>
</author>
<published>2020-12-29T06:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fcaaf276ee6dc7149a9ef442111748970fa46925'/>
<id>fcaaf276ee6dc7149a9ef442111748970fa46925</id>
<content type='text'>
Single backticks default role is reference, while here it seem to be for
verbatim. Fix it in a couple of places.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Single backticks default role is reference, while here it seem to be for
verbatim. Fix it in a couple of places.
</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>Fix docstring cross-referencing</title>
<updated>2020-09-04T18:23:42+00:00</updated>
<author>
<name>Albert Villanova del Moral</name>
<email>8515462+albertvillanova@users.noreply.github.com</email>
</author>
<published>2020-09-04T18:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8599fe0abc88f584ee45b54654833cdccefc3cd0'/>
<id>8599fe0abc88f584ee45b54654833cdccefc3cd0</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 nickname from polynomial classes. (gh-16589)</title>
<updated>2020-07-08T19:34:19+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2020-07-08T19:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1c8efa16b296258e059a334e27e68428cf3cb48b'/>
<id>1c8efa16b296258e059a334e27e68428cf3cb48b</id>
<content type='text'>
* MAINT: Remove nickname from polynomial classes.

The convenience classes derived from ABCPolyBase had a nickname
attribute that was only used internally in the previous
implementation of __str__. After the overhaul of __str__ in #15666,
this attr is no longer used.

* DOC: Add release note.

Add release note to notify users of removal of the abstract
property, and highlight users that may be affected by the
change.

* DOC: fixed rST in release note</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* MAINT: Remove nickname from polynomial classes.

The convenience classes derived from ABCPolyBase had a nickname
attribute that was only used internally in the previous
implementation of __str__. After the overhaul of __str__ in #15666,
this attr is no longer used.

* DOC: Add release note.

Add release note to notify users of removal of the abstract
property, and highlight users that may be affected by the
change.

* DOC: fixed rST in release note</pre>
</div>
</content>
</entry>
</feed>
