axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fricas-devel] Re: [Axiom-mail] InputForm


From: Bill Page
Subject: Re: [fricas-devel] Re: [Axiom-mail] InputForm
Date: Wed, 3 Jun 2009 09:40:43 -0400

On Wed, Jun 3, 2009 at 8:35 AM, Martin Rubey wrote:
>
> Ralf Hemmecke writes:
>
>> Is there an easy way to get a linear output (not 2d-output), i.e.,
>> which looks exactly like the input?
>
> (1) -> x+y^2
>
>         2
>   (1)  y  + x
>                                        Type: Polynomial(Integer)
> (2) -> (x+y^2 )::INFORM
>
>   (2)  (+ (** y 2) x)
>                                        Type: InputForm
> (3) -> unparse((x+y^2 )::INFORM)
>
>   (3)  "y^2+x"
>                                        Type: String
>
>
> This is, in my opinion a hack, in case you want linear *output*.  It
> should be relatively easy though, to provide something similar to
> TexFormat, that provides a coercion from outputform to "linearform".
> Would actually be nice.
>

Martin,

Do you mean something like?

  )set output linear on

Note also that

  y^2+x

is not syntactically identical to the input

  x+y^2

I wonder why FriCAS changes the order?

Regards,
Bill Page.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]