Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1852 by raffaele.defeo: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
x, y = symbols('xy', commutative = False)
expand((x + y)**3)
produces the following
Comment #1 on issue 1852 by raffaele.defeo: expand fails when
non-commutative symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
I discovered what the problem is. To correct that issue, it is necessary a
one row
change to the file
Updates:
Status: Accepted
Labels: NeedsReview
Comment #2 on issue 1852 by asmeurer: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
That looks like it fixes it, but I need to run the tests to see if it
breaks
Updates:
Labels: -NeedsReview NeedsBetterPatch
Comment #3 on issue 1852 by asmeurer: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
OK tests all pass. Could you write this into a git patch and write a test
for it?
--
Comment #4 on issue 1852 by raffaele.defeo: expand fails when
non-commutative symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
I can try... but this would be my git first time.
Is there a tutorial to follow? All of the instructions I found refer to the
use of
Comment #5 on issue 1852 by asmeurer: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
Yes. Ondrej made tutorial specifically for SymPy. You can find them here:
http://code.google.com/p/sympy/wiki/GitTutorials.
--
You received
Comment #6 on issue 1852 by smichr: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
It passes everything in 1766, too...but the issue is also present for a
non-Add base:
(x*y)**3 - x**3*y**3 instead of x*y*x*y*x*y
Also, in
Comment #7 on issue 1852 by asmeurer: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
This is related to issue 1261.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you
Comment #21 on issue 1261 by asmeurer: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
I agree. We should just leave (x*y)**n unexpanded by default for
non-comutative x, y and make
expand((x*y)**n) expand it to x*y*x*y…x*y (n
Comment #8 on issue 1852 by raffaele.defeo: expand fails when
non-commutative symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
I hope the patch is good!
Attachments:
non-commutative-multinomial-power-expansion.patch 2.6 KB
--
You received this message
Updates:
Labels: -NeedsBetterPatch PassedReview
Comment #9 on issue 1852 by asmeurer: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
Thanks. This looked fine, so I pushed it in. Chris, does your problem
still apply
Status: Accepted
Owner: ondrej.certik
Labels: Type-Defect Priority-Medium Milestone-Release0.6.7
New issue 1853 by ondrej.certik: tests fail on windows (without numpy)
http://code.google.com/p/sympy/issues/detail?id=1853
These are the results of running sympy tests on windows. Probably fails
on
Comment #28 on issue 1829 by ondrej.certik: release 0.6.7
http://code.google.com/p/sympy/issues/detail?id=1829
But fails without numpy (issue 1853).
--
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
Comment #29 on issue 1829 by Vinzent.Steinberg: release 0.6.7
http://code.google.com/p/sympy/issues/detail?id=1829
No, I branched sympy's master to not slow down development, please test my
0.6.7
branch, it does also contain a fix for the numpy doctests. I will merge it
later into
master.
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium NeedsReview
New issue 1854 by smichr: horner's method has been implemented in
polys/factortools.
http://code.google.com/p/sympy/issues/detail?id=1854
It is commit 1854 in smichr's 1766 branch at github
--
You received this
Comment #22 on issue 1261 by smichr: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
Can someone give me an example of what the l.reverse() is suppose to be
doing when e
is negative?
--
You received this message because you are
Comment #10 on issue 1852 by smichr: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
1261...and I raised a question there.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you
Updates:
Status: Fixed
Comment #11 on issue 1852 by asmeurer: expand fails when non-commutative
symbols are involved
http://code.google.com/p/sympy/issues/detail?id=1852
OK. I will close it then.
--
You received this message because you are listed in the owner
or CC fields of this
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium NeedsReview
New issue 1855 by smichr: matrix gets a gcdfactor method
http://code.google.com/p/sympy/issues/detail?id=1855
Although the gcdfactor method needs to extract something from
a matrix, other methods (like simplify) migh
Comment #24 on issue 1261 by smichr: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
I mean (x*y*x*y)**-1
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium NeedsReview
New issue 1856 by smichr: 1856: Eq gets as_basic method
http://code.google.com/p/sympy/issues/detail?id=1856
with commit 1856 in smichr's 1766 branch at github,
the idiom b = e.lhs - e.rhs can now be expressed as
b
Comment #1 on issue 1855 by smichr: matrix gets a gcdfactor method
http://code.google.com/p/sympy/issues/detail?id=1855
the gcdfactor is commit 1855 in smichr's 1766 branch at github
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you
22 matches
Mail list logo