Re: how to turn pretty print off
Gabriel Dos Reis <[email protected]> Wed, 14 Oct 2009 04:43:43 -0500
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 14, 2009 at 1:38 AM, TP <[email protected]> wrote: > On Wednesday 14 October 2009 00:00:31 you wrote: >> what do you see and how would you like it do display? > > For example: > > 1 5 5 4 2 2 3 1 3 3 2 2 > - x - - d x + (d - a )x + (- - d + - a d)x > 2 4 4 2 > (sorry if it is bad aligned) > I would like it to display as: > 1/2*x^5-5/4*d*x^4+...... In OpenAxiom, you just coerce to InputForm: (1) -> p := 1/2*x^5-5/4*d*x^4 1 5 5 4 (1) - x - - d x 2 4 Type: Polynomial Fraction Integer (2) -> p :: InputForm (2) (1/2)*x^5 + (-5/4)*d*x^4 Type: InputForm -- Gaby