Isn't just a question of picking a nonnegative term to go first? Aaron Meurer
On Fri, Jul 8, 2016 at 11:45 AM, Björn Dahlgren <[email protected]> wrote: > Hi, > > The argument ordering of e.g. Add is lexiographical, and the printing > follows the argument order: > > >>> (y-x)*(z-y) > (-x + y)⋅(-y + z) > > is there already functionality to have the printing system reorder > arguments to minimize number of signs printed? > (I am generating LaTeX expressions and I'd rather avoid editing them by > hand). > > Best regards, > Björn > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/a4d0ec78-c065-4894-9582-a5c42d8dff37%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/a4d0ec78-c065-4894-9582-a5c42d8dff37%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2B%3DWomxZw9y2dJYhAJ%3DDtWiHLdVEvwcgqE%3DRG4coevbQw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
