There is a bit of a discussion on [ https://github.com/sympy/sympy/pull/332
] about what should be done automatically or even manually with logs
containing integers. Here is the summary statement from there:
Summary of this pulls changes:
log(3**2) -> 2*log(3) automatically, i.e. only perfect powers
which are easy to test for.
log(1/x) -> -log(x) automatically
log(6) goes to log(2) + log(3) when expand is used unless it is
given factor_limit=0;
Note: the expression log(6*x) will also expand out to log(x) + log(2)
+ log(3) but logcombine will only bring that back together to log(x) +
log(6).
What should we keep? The very cheapest thing to keep is log(1/x) -> -
log(x)
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.