Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1909 by austin.lund: Expand function does not deal with non-commutative multiplication and powers
http://code.google.com/p/sympy/issues/detail?id=1909

In [1]: a,b = symbols('ab', commutative=False)

In [2]: expand((a*b)**2)
Out[2]:
 2  2
a ⋅b


Expected output:

a⋅b⋅a⋅b

Attached is a test for conditions like this.

Attachments:
        0001-Added-tests-for-non-commutative-expand-with-multipli.patch  1.3 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to