Thanks,
Rich
----- Original Message -----
From: "Richard Fateman" <fateman at cs.berkeley.edu>
To: "'Richard Hennessy'" <rvh2007 at comcast.net>; "'Maxima List'" <maxima at math.utexas.edu>
Sent: Sunday, October 19, 2008 12:42 AM
Subject: RE: [Maxima] Tellsimp and tellsimpafter
I suggest you use some other function name, like myintegrate(...,..)
and see if you can make your rules work. integrate() has semantics
associated with it that may be causing difficulty.
read about declaring operators linear.
in particular, declare(myintegrate,linear)
--> myintegrate(a*x^2+b*x+c,x) ==>
a*myintegrate(x^2,x)+b*myintegrate(x,x)+c*myintegrate(1,x);
> -----Original Message-----
> From: maxima-bounces at math.utexas.edu
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Richard Hennessy
> Sent: Saturday, October 18, 2008 9:16 PM
> To: Maxima List
> Subject: Tellsimp and tellsimpafter
>
> Hi List,
>
> I have been trying to get Maxima to change an integral of a
> sum to the sum of integrals in cases where some of the
> integrals in the sum can be done and some cannot and have had
> no luck with it at all. It seems like this cannot be done
> with matchdeclare and tellsimp and tellsimpafter. I can
> write a program to do it but I would prefer to know for sure if
> it cannot be done with tellsimp, tellsimpafter and
> matchdeclare. I always get a single integral sign of the entire sum.
>
> Example
>
> integrate(x^2*unit_step(x-5) + x,x)
> -> integrate(x^2*unit_step(x-5) + x,x)
>
> This form for the answer is of no help to me..
>
> Thanks,
>
> Rich
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>