I have this pw.mac file which handles peicewise functions in terms of unit_step for the most part. I think that is a possible
solution to this problem but at this time it is not fully integrated into Maxima, it is an add on.
Just my two cents worth.
Rich
PS You can get it here. There is a link to download at the bottom.
http://home.comcast.net/~rvh2007/site/?/page/Pw.mac_2.0/
----- Original Message -----
From: "Robert Dodier" <robert.dodier at gmail.com>
To: "Viktor T. Toth" <vttoth at vttoth.com>
Cc: <Maxima at math.utexas.edu>; "Raymond Toy" <toy.raymond at gmail.com>; "Raymond Toy" <raymond.toy at ericsson.com>; "Barton Willis"
<willisb at unk.edu>
Sent: Saturday, November 29, 2008 6:29 PM
Subject: Re: [Maxima] atan2(x,x)
On 11/18/08, Viktor T. Toth <vttoth at vttoth.com> wrote:
> I always felt that asksign was one of the worst evils of Maxima.
Well, asksign certainly is annoying.
> Have we ever considered replacing it with a mechanism
> like piecewise() in Maple?
I wrote some experimental code (share/contrib/noninteractive)
which captures asksign queries and turns them into conditional
expressions. It sort of works; you can see some successful
examples in the comment header for noninteractive.mac.
However, I think it to banish asksign will require a different
approach. I can say more about that if anyone is interested.
FWIW
Robert Dodier
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima