On 7/8/07, Thomas Widlar <twidlar at yahoo.com> wrote:
>
> Is there an recursive version of factor() perhaps in a simplification
> function where the factorization is applied recursively until no further
> common factors can be extracted in subexpressions.
I'm not sure what you mean. Perhaps scanmap solves your problem:
scanmap(factor, sin(x^2-1) ) => sin((x-1)*(x+1))
But perhaps this isn't what you have in mind. Could you give an example of
what you want to do?
-s