diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-07-06 22:12:02 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-08-12 14:27:39 -0700 |
commit | e6e60c02e2c8833e45eab575732011e75b5b7c73 (patch) | |
tree | 899626310a37207f6993cffbfd33cc8760e3760e /numpy/lib/function_base.py | |
parent | 739443679b50b43c34808b8fb767bac643fcd91d (diff) | |
download | numpy-e6e60c02e2c8833e45eab575732011e75b5b7c73.tar.gz |
ENH: Add support for ipython latex printing to polynomial
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
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions