<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/polynomial/polynomial.py, branch v1.22.4</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>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>
<entry>
<title>ENH: Improved __str__, __format__ for polynomials</title>
<updated>2020-05-07T17:26:32+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2020-02-28T00:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9c83b13ce1b08aed8181d284566d002086393a89'/>
<id>9c83b13ce1b08aed8181d284566d002086393a89</id>
<content type='text'>
Changes the printing style of instances of the convenience classes in
the polynomial package to a more "human-readable" format.
__str__ has been modified and __format__ added to ABCPolyBase, modifying
the string representation of polynomial instances, e.g. when printed.
__repr__ and the _repr_latex method (which is used in the Jupyter
environment are unchanged.

Two print formats have been added: 'unicode' and 'ascii'. 'unicode' is
the default mode on *nix systems, and uses unicode values for numeric
subscripts and superscripts in the polynomial expression. The 'ascii'
format is the default on Windows (due to font considerations) and uses
Python-style syntax to represent powers, e.g. x**2. The default
printing style can be controlled at the package-level with the
set_default_printstyle function.

The ABCPolyBase.__str__ has also been made to respect the linewidth
printoption. Other parameters from the printoptions dictionary are not
used.

Co-Authored-By: Warren Weckesser &lt;warren.weckesser@gmail.com&gt;
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes the printing style of instances of the convenience classes in
the polynomial package to a more "human-readable" format.
__str__ has been modified and __format__ added to ABCPolyBase, modifying
the string representation of polynomial instances, e.g. when printed.
__repr__ and the _repr_latex method (which is used in the Jupyter
environment are unchanged.

Two print formats have been added: 'unicode' and 'ascii'. 'unicode' is
the default mode on *nix systems, and uses unicode values for numeric
subscripts and superscripts in the polynomial expression. The 'ascii'
format is the default on Windows (due to font considerations) and uses
Python-style syntax to represent powers, e.g. x**2. The default
printing style can be controlled at the package-level with the
set_default_printstyle function.

The ABCPolyBase.__str__ has also been made to respect the linewidth
printoption. Other parameters from the printoptions dictionary are not
used.

Co-Authored-By: Warren Weckesser &lt;warren.weckesser@gmail.com&gt;
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Refactor `np.polynomial` docs using `automodule` (#15662)</title>
<updated>2020-03-12T08:26:06+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2020-03-12T08:26:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5cfc2d3ca06fb6afc95c16db172f710ed6e7eed4'/>
<id>5cfc2d3ca06fb6afc95c16db172f710ed6e7eed4</id>
<content type='text'>
* DOC: Refactor polynomial docs using automodule.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* DOC: Refactor polynomial docs using automodule.</pre>
</div>
</content>
</entry>
<entry>
<title>Updated files in polynomial/ to use fstrings</title>
<updated>2020-01-26T22:20:55+00:00</updated>
<author>
<name>Anton Ritter-Gogerly</name>
<email>anton@antonviktor.com</email>
</author>
<published>2020-01-26T03:12:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=764c25bb8a9e5be60455ac7d6947318efbbb93aa'/>
<id>764c25bb8a9e5be60455ac7d6947318efbbb93aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
