... and if you want to apply this to *all* logs in a large expression, you
can do something like
scanmap( lambda([ex], if not mapatom(ex) and inpart(ex,0)='log then
...) , ...)
-s
On Thu, May 31, 2012 at 10:56 AM, Stavros Macrakis <macrakis at alum.mit.edu>wrote:
> expr, logexpand:all
> factor(%)
> substpart(logcontract(piece),%,2)
> scanmap(factor,%)
>
>
>
> On Thu, May 31, 2012 at 10:49 AM, David Ronis <David.Ronis at mcgill.ca>wrote:
>
>> log(((k[1]^2+2*k[1]*k[0]+k[0]^2)*D+z
>> +Gamma)^2/(((k[1]^2-2*k[1]*k[0]+k[0]^2)*D+z+Gamma)^2));
>>
>
>