Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2191 by [email protected]: Collecting numerical prefactors
http://code.google.com/p/sympy/issues/detail?id=2191
It doesn't seem to be possible to simply "collect" numerical prefactors.
E.g. I can do collect(a*b+a*c+d, a) to get a*(b+c)+d
but there seems to be no straighforward way to do something similar for
0.5*b+0.5*c+d, to get 0.5*(b+c)+d
The seems to be related to the fact that sympy automatically converts
0.5*(b + c) into 0.5*b + 0.5*c
--
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.