One more thing. If you are working with noncommutatives, it would be
great to have you testing 1766. There is awareness there that isn't in
master yet:
>>> c, d=symbols('cd', commutative=0)
>>> (d**3).coeff(d**2)
0
>>> (d**3).coeff(d**2, exact=0)
d
>>> a=d**2*c*d
>>> a.extract_multiplicatively(d**3)
>>> a.extract_multiplicatively(d**2)
c*d
>>> a.extract_multiplicatively(d)
d**2*c
>>> a.coeff(c)
>>>
That last one results because you can't pull out everything and have
only c on the right. It's not been tested other than by the few
doctests that I have, so you are likely to run into something...but
you are already running into problems and might get further in 1766
and help get it into shape at the same time.
--
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.