OK.  I probably should have gotten this together a long while ago, but  
I don't mind if it waits until the next release.

Aaron Meurer
On Jul 11, 2009, at 6:22 PM, Ondrej Certik wrote:

>
> On Sat, Jul 11, 2009 at 5:40 PM, Aaron S. Meurer<asmeu...@gmail.com>  
> wrote:
>>
>> I wrote this logcombine function a while ago for my work in dsolve,
>> but I haven't finished the work in dsolve yet.  But I figured that  
>> the
>> logcombine function could be put in, as it is independent of dsolve.
>> The function combines logarithms like log(x)+log(y) => log(x*y) and
>> 2*log(x) => log(x**2).  It defaults to only combining if the  
>> arguments
>> have proper assumptions (the arguments must be positive and the
>> exponents/coefficients must be real for these identities to be true).
>> You can override these by choosing assume_pos_real = True.
>>
>> See the docstring for more info.
>>
>> Pull from http://github.com/asmeurer/sympy/tree/logcombine
>>
>> See also Issue 1530
>
> I commented in the issue, I'll push it in after the release.
>
> Ondrej
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to