Status: Accepted
Owner: asmeurer
Labels: Type-Enhancement Priority-Medium NeedsReview

New issue 1530 by asmeurer: logcombine function for combining logarithms
http://code.google.com/p/sympy/issues/detail?id=1530

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


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to