[Numpy-discussion] Polynomial evaluation inconsistencies

Charles R Harris charlesr.harris at gmail.com
Sat Jun 30 18:42:45 EDT 2018


On Sat, Jun 30, 2018 at 3:41 PM, Eric Wieser <wieser.eric+numpy at gmail.com>
wrote:

> Since the one of the arguments for the decreasing order seems to just be
> textual representation - do we want to tweak the repr to something like
>
> Polynomial(lambda x: 2*x**3 + 3*x**2 + x + 0)
>
> (And add a constructor that calls the lambda with Polynomial(1))
>
> Eric
>

IIRC there was a proposal for that. There is the possibility of adding
renderers for latex and html that could be used by Jupyter, and I think the
ordering was an option.

Chuck

>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180630/7c818ecb/attachment.html>


More information about the NumPy-Discussion mailing list