How to avoid ^- in maxima output? (Richard Fateman)
Subject: How to avoid ^- in maxima output? (Richard Fateman)
From: Richard Fateman
Date: Wed, 23 Oct 2013 18:13:25 -0700
If you want some hack so that you are using your own parser, how about
subst(power,"^", a+b^-c/d);
and define power in your system?
On 10/23/13 4:39 PM, Martin Kraska wrote:
> Thanks for the hint. Currently, I'd prefer to see if our problem can be
> solved by adjusting 1d output formatting, there were encouraging posts.
>
> We do not perform any real parsing at the moment, but that might change in
> future, particularly in order to get nested lists and matrices right.
>
> This is how a typical transaction log looks like:
>
> "
> Request: ((%e^(-(x*y)))/b);
> Answer:
> (%o26) %e^-(x*y)/b <--- better: %e^(-(x*y))/b
> (%i27)
> Received bytes:27
> SMathGet: e^-(x*y)/b
> SMathGetBytes: 10 "
>
> Nothing is done except translating e <-> %e in the given case.
>
>
>>> On 10/23/13 11:23 AM, Robert Dodier wrote:
>>> (3) You can also call ?print to print the Lisp form -- that's more
>> > work,
>> I doubt it; see below
>>
>> especially as some expressions have special representations, do
>> ?print(ratdisrep(%)) and you will not have any issues with the items
> below.
>> This is hardly any work on the lisp side, and can provide the results
> essentially
>> pre-parsed for you. You don't need to re-parse stuff except by trivially
> reading
>> delimited expressions.
>>
>> RJF
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima