Factorization problem



On 7/9/12 9:11 AM, David Ronis 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've tried factor,
> factorsum, and map, fullmap, and scanmap variants of factor or
> factorsum.  The exponential doesn't symplify.   What I want is 
> 
> exp((2*x^2+1)*t[3]).

This worked for me:

scanmap(factor, f) -> exp((2*x^2+1)*t[3])

Maybe a more complicated (but not too complicated) example illustrating
the problem will be helpful?

Ray