Updates:
Status: Invalid
Comment #4 on issue 2540 by asmeurer: log() not working properly
http://code.google.com/p/sympy/issues/detail?id=2540
Exactly. If you look right above that line in the test file, you can see
that p and q are defined as
p, q = symbols('p,q', positive=True)
r = Symbol('r', real=True)
And furthermore, above that, there are tests for vanilla x and y symbols
like
assert log(x*y) != log(x) + log(y)
assert log(x/y).expand() != log(x) - log(y)
The force keyword overrides this because that's what it was designed to
do! It "forces" the expansion to happen, even if the assumptions don't
allow it.
And as to that examples page, it says at the top "Note: This document was
superseded by Tutorial, that contains everything here plus much more.", and
it has the Deprecated tag, which means that it is no longer valid (and
shouldn't appear with the other wiki pages).
--
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.