Factorization problem



On 2012-07-09, David Ronis <David.Ronis at McGill.CA> wrote:

> I'm trying to factor a fairly messy expression that contains things like
>
>   f:exp(2*t[3]*x^2+t[3]);
>
> (actually linear combinations of things like f).

I tried some examples and factor sometimes pulls exp(...) out of a
linear combination of exponentials, and the left-over terms don't seem
to be factorable.

Try scanmap(factor, <stuff>, bottomup) -- that way factor works on the
exponents first.

In the examples I tried, scanmap and factor seemed to have the expected
effect, so if you think you've found a bug, maybe you can post some
specific examples.

best,

Robert Dodier