Re: rules problems (was: polynom -> list)



On Son, 2004-12-19 at 10:48 -0500, Viktor T. Toth wrote:
> But of course this is not exactly what you want, since you DO want abl()
> evaluated eventually. So tell the simplifier (there may be a more elegant
> way to do this, but this is what I could think of right now):
> 
> (%i5) matchdeclare([dummy1,dummy2],true);
> (%o5)                                done
> (%i6) tellsimpafter(abl(dummy1,dummy2),ev(abl(dummy1,dummy2),abl));
> (%o6)                        [ablRULE1, simpargs1]
> (%i7) abl(5*x^2+2*x,x);
> (%o7)                              10 x + 2

Really fascinating. Don't know if that is really what I want, but at
least it works...

Thanks a lot...