Re: How do I get define to recurse?



Stavros Macrakis wrote:
> 
>     (%i1) declare(f, multiplicative);
>     (%i2) declare(f, additive);
>     (%i5) f(a*b +c);
>     (%o5)                            f(c) + f(a b)
> 
> 
> This is a bug which should be fixed in the next release.  In the 
> meantime, you can do
> 
>            expand( ... , 0, 0)
> 
> which resimplifies the expression without expanding it.
> 

Thank you everyone for the replies. Small price to pay for having a free 
CAS system. And of course you can't get maxima to expand everything 
returned by default, because this would break other parts of maxima - 
interesting bug. Or should that be called a "feature"? :)

Joal Heagney