Updates:
Summary: expand log can be more complete (was "logcombine can be less strict")

Comment #3 on issue 2043 by smichr: expand log can be more complete (was "logcombine can be less strict")
http://code.google.com/p/sympy/issues/detail?id=2043

Thanks for the reference, Matteusz. I see that both are necessary. I was just getting lucky with the numbers I used.

I changed the issue title to then correspond to the fact that (for p a positive value and y generic) log(p/y).expand() -> log(p) + log(1/y) rather than log(p) - log(y) which, because the power is -1, is going to be correct for any y. Also, this is what you get when you do log(p/y).expand().expand()

This is fixed in my t2 branch but I have to go back and make sure that log(x*y) doesn't expand to log(x) + log(y); only positive values can be split out.

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

Reply via email to