simplification



On 2012-04-18, Jean Vittor <jean.vittor at free.fr> wrote:

> Now my expressions get simplified with the following rules (in case 
> someone's interested).

Terrific! I'm glad to hear it works OK for you. Maxima's pattern
matcher isn't very strong -- there are a lot of interesting
patterns it can't match. I'm glad to hear that the set of
matchable patterns includes some of interest to you.

> tellsimpafter(sin(ee*xx), ee*sin(xx));
> tellsimpafter(sin(xx*ee), ee*sin(xx));
> tellsimpafter(sin(xx*ee*yy), ee*sin(xx*yy));
> tellsimpafter(sin((xx*ee*zz)/yy), ee*sin(xx*zz/yy));

Keep in mind that the multiplication and division expressions
above will be simplified before tellsimpafter works on them,
so any permutation of terms yields the same pattern.

All the best,

Robert Dodier