Comment #12 on issue 2552 by [email protected]: (1/(x*y)).subs(x*y,
whatever) doesn't work
http://code.google.com/p/sympy/issues/detail?id=2552
The problem I see is that this is an ill-defined substitution. Consider:
>>> (1/x**2/y**3).subs(x,z/y)
1/(y*z**2)
>>> (1/x**3/y**2).subs(x,z/y)
y/z**3
If someone is wanting to replace x*y with z then both cases above should
have given the same answer. I think making the helper functions give
something more structurally meaningful is the way to go as suggested in
http://code.google.com/p/sympy/issues/detail?id=2552#c4
--
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.