Ok, thanks.<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
exp(a)*b*exp(c) -> exp(a+c)*b<br>
<br>
for any expression b. This one is not easy to do automatically within<br>
GiNaC for various reasons, I think.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>I don't understand, why this would be hard? The product of 3 (or more) expressions is already represented as a sequence in the "mul" expression type, so couldn't ginac just find all subexpressions in the product of type exp, and then collect them? I guess I don't know how these auto-simplify methods are implemented.<br>
<br>Anyway I will try the subs/wildcard method as you suggested, I didn't think of that. Thanks again!<br><br>-Levi<br></div><br></div><br>