Couldn't we have asksign1 in the noninteractive package work in our favor in this case. This doesn't work but it would be great if it did.
load(noninteractive);
f(x):= if x > 0 then 1 else 0$
diff(f(x),x);
--> diff((if x>0 then 1 else 0),x,1)
It would be pretty cool if you could get.
-- > if x<0 then 0 elseif equal(z,0) then inf else 0
Rich
------------Original Message------------
From: "Stavros Macrakis" <macrakis at alum.mit.edu>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Ismael Garrido" <ismaelgf at adinet.com.uy>, "Maxima List" <maxima at math.utexas.edu>
Date: Sun, May-11-2008 6:08 PM
Subject: Re: [Maxima] Fourier Series for unit step
On Sun, May 11, 2008 at 6:05 PM, Richard Hennessy <rvh2007 at comcast.net> wrote:
> "(if/then/else acts like a programming construct, not a mathematical expression)"
>
> I don't think there is a difference, we are just not there yet.
That's exactly what I said.
-s