Since I was at the origin of the argument for a change (long time ago
already), I better add my opinion:
I would change all number field printing by reversing the order. For
instance this feels unnatural to me:
sage: K = NumberField(x^7-3, "a")
sage: K([1,2,3,4,5,6,7])
7*a^6 + 6*a^5 + 5*a^4 + 4*a^3 + 3*a^2 + 2*a + 1
I really believe a large majority of number theorist will write
1+ zeta + zeta^2
in cyclotomic fields or
1+ sqrt[3]{7} +...
more generally etc.
However, it is purely an aesthetic question.
Chris
On 18 March 2015 at 11:43, Jeroen Demeyer <[email protected]> wrote:
> At #7545, some people complain that our number field elements are printed
> as polynomials, starting with the highest order term.
>
> Example:
>
> sage: QuadraticField(-1, 'i').gen() + 2
> i + 2
>
> It would be more "natural" to print this as "2 + i". For arbitrary number
> field elements, I guess the print order doesn't matter that much, so I'm
> not against changing this.
>
> Any other opinions?
>
> Jeroen.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-nt" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send an email to [email protected].
> Visit this group at http://groups.google.com/group/sage-nt.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"sage-nt" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/sage-nt.
For more options, visit https://groups.google.com/d/optout.