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
why did you remove the following tests (sympy/core/tests/test_arit.py):
- assert list((I*pi).atoms(NumberSymbol)) == [pi]
- assert sorted((I*pi).atoms(NumberSymbol, I)) == \
- sorted((I*pi).atoms(I,NumberSymbol)) == [pi, I]
There must be a better way to find this...sorry, I
I'll reply to the initial questions in a bit.
--
You received this message because you are subscribed to the Google Groups
sympy-patches group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to
Ühel kenal päeval, P, 2010-03-07 kell 14:07, kirjutas Kasun
Samarasinghe:
hi,
I have attached the patch with this for rabin's test for
irreducibility test. Please give me some comments on that.
+def gf_irreducible_rabin(f, p, K):
+Test for the irreducibility of a polynomial over
I have done test my self for the test cases for irreducibility already have
in sympy. but i will add test to the galois_tools test file and attacha
patch for your comments again.
Thank you for the comments,
kasun
On Mon, Mar 8, 2010 at 12:33 PM, Priit Laes plaes...@gmail.com wrote:
Ühel
On 8 Mrz., 05:05, Ondrej Certik ond...@certik.cz wrote:
[...] The wiki is a bit fragile[...]
Could you please be more concrete?
Vinzent
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sy...@googlegroups.com.
To
It would be great if we could set up an infrastructure like pypy for
monitoring sympy's performance: [1]
The author of the website seems to be interested to set this up for
other open source projects, see also [1].
Vinzent
[1] http://morepypy.blogspot.com/2010/03/introducing-speedpypyorg.html
On Mar 8, 2010, at 4:33 AM, Priit Laes wrote:
Ühel kenal päeval, P, 2010-03-07 kell 14:07, kirjutas Kasun
Samarasinghe:
hi,
I have attached the patch with this for rabin's test for
irreducibility test. Please give me some comments on that.
+def gf_irreducible_rabin(f, p, K):
+Test
Here's a draft of a Horner routine...any ideas where this might go?
rewrite?
def _horner(p, x, n=0):
recursive helper for horner.
pow, co = p.TM[0], p.TC
if pow == co == 0:
return 0
else:
t = co * Pow(x, pow)
return Pow(x, pow - n)*(co + _horner(p - t, x,
hi
I just used pi to correspond to p sub script i. since for each pi we check
the relevant conditions. I did not see any conflict with other variables.?.
Also will a test function in test_galoistools would be sufficient?
Thank you,
kasun
On Mon, Mar 8, 2010 at 5:03 PM, Aaron S. Meurer
Yes, I think that would be where to put the test.
Maybe p_i then. It won't actually conflict with anything, but it can be
confusing.
Aaron Meurer
On Mar 8, 2010, at 10:02 AM, Kasun Samarasinghe wrote:
hi
I just used pi to correspond to p sub script i. since for each pi we check
the
Hello.
Half a year ago, I was asking about sympy benchmarks. So here is some
feedback on what I got using the JIT. Running the very simple
benchmark, like this:
import sympy
import time
x, y = sympy.symbols('x, y')
for i in range(10):
t0 = time.time()
sympy.factor(x**20 - y**20)
On Mon, Mar 8, 2010 at 4:53 AM, Vinzent Steinberg
vinzent.steinb...@googlemail.com wrote:
On 8 Mrz., 05:05, Ondrej Certik ond...@certik.cz wrote:
[...] The wiki is a bit fragile[...]
Could you please be more concrete?
The math doesn't work and it runs on my own server (at linode.com),
which
On Mon, Mar 8, 2010 at 6:26 AM, Vinzent Steinberg
vinzent.steinb...@googlemail.com wrote:
It would be great if we could set up an infrastructure like pypy for
monitoring sympy's performance: [1]
The author of the website seems to be interested to set this up for
other open source projects,
On Mon, Mar 8, 2010 at 8:43 AM, smichr smi...@gmail.com wrote:
Here's a draft of a Horner routine...any ideas where this might go?
rewrite?
def _horner(p, x, n=0):
recursive helper for horner.
pow, co = p.TM[0], p.TC
if pow == co == 0:
return 0
else:
t = co *
On Mon, Mar 8, 2010 at 11:53 AM, Maciej Fijalkowski fij...@gmail.com wrote:
Hello.
Half a year ago, I was asking about sympy benchmarks. So here is some
feedback on what I got using the JIT. Running the very simple
benchmark, like this:
import sympy
import time
x, y = sympy.symbols('x,
Why not just do it on the Google Code wiki, if you are worried about the
server? Google docs doesn't have math either (or am I wrong?).
Also, the application period has officially begun. Here are the guidelines for
the application:
On Mon, Mar 8, 2010 at 1:10 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
Why not just do it on the Google Code wiki, if you are worried about the
server? Google docs doesn't have math either (or am I wrong?).
Also, the application period has officially begun. Here are the guidelines
for
Forwarding to the sympy list too.
Ondrej
-- Forwarded message --
From: Jarrod Millman mill...@berkeley.edu
Date: Mon, Mar 8, 2010 at 12:44 AM
Subject: [Numpy-discussion] PSF GSoC 2010 (Py3K focus)
To: SciPy Users List scipy-u...@scipy.org, Discussion of Numerical
Python
Hi there, I kind of wanted to participate in this year's GSOC, and I
looked through the suggestions and I couldn't help noticing there are
no suggestions for optimizations for a particular architecture that
could make SymPy faster. I am speaking particularly of GPU usage (e.g.
CUDA) and parallel
On Mon, Mar 8, 2010 at 17:05, yavor...@mail.bg gerund...@gmail.com wrote:
Hi there, I kind of wanted to participate in this year's GSOC, and I
looked through the suggestions and I couldn't help noticing there are
no suggestions for optimizations for a particular architecture that
could make
Well... anything that uses matrices is welcome for CUDA. Also many of
the combinatorial algorithms have parallel versions
On 9 Март, 01:20, Robert Kern robert.k...@gmail.com wrote:
On Mon, Mar 8, 2010 at 17:05, yavor...@mail.bg gerund...@gmail.com wrote:
Hi there, I kind of wanted to
On Mon, Mar 8, 2010 at 3:40 PM, Maciej Fijalkowski fij...@gmail.com wrote:
On Mon, Mar 8, 2010 at 1:55 PM, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 8, 2010 at 11:53 AM, Maciej Fijalkowski fij...@gmail.com wrote:
Hello.
Half a year ago, I was asking about sympy benchmarks. So here is
On Mon, Mar 8, 2010 at 3:05 PM, yavor...@mail.bg gerund...@gmail.com wrote:
Hi there, I kind of wanted to participate in this year's GSOC, and I
looked through the suggestions and I couldn't help noticing there are
no suggestions for optimizations for a particular architecture that
could make
Try divisors() from sympy/ntheory/factor_.py. I tried that with Cython
(pure Python mode, so that you have the same source code, that works
both in Python and in Cython) and I forgot which speedup I got, but at
least 10x, maybe up to 25x. Should be in the archives of this list.
Ondrej
On
On Mon, Mar 8, 2010 at 4:32 PM, Maciej Fijalkowski fij...@gmail.com wrote:
Try divisors() from sympy/ntheory/factor_.py. I tried that with Cython
(pure Python mode, so that you have the same source code, that works
both in Python and in Cython) and I forgot which speedup I got, but at
least
On Mon, Mar 8, 2010 at 5:37 PM, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 8, 2010 at 4:32 PM, Maciej Fijalkowski fij...@gmail.com wrote:
Try divisors() from sympy/ntheory/factor_.py. I tried that with Cython
(pure Python mode, so that you have the same source code, that works
both in
On Mon, Mar 8, 2010 at 4:46 PM, Maciej Fijalkowski fij...@gmail.com wrote:
On Mon, Mar 8, 2010 at 5:37 PM, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 8, 2010 at 4:32 PM, Maciej Fijalkowski fij...@gmail.com wrote:
Try divisors() from sympy/ntheory/factor_.py. I tried that with Cython
Chris has a divisors function in his 1766 branch that he claims is
faster than our current one.
Aaron Meurer
Sent from my iPod touch.
On Mar 8, 2010, at 5:56 PM, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 8, 2010 at 4:46 PM, Maciej Fijalkowski
fij...@gmail.com wrote:
On Mon, Mar 8,
So PSF won't mentor any sympy project unless it is a project to port
to python3? Hopefully there will be other organizations willing to
mentor for sympy again (or else that sympy gets accepted as an
organization).
Are we even ready to port to py3k? As long as we still support
python2,
On Mon, Mar 8, 2010 at 5:30 PM, Maciej Fijalkowski fij...@gmail.com wrote:
On Mon, Mar 8, 2010 at 5:56 PM, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 8, 2010 at 4:46 PM, Maciej Fijalkowski fij...@gmail.com wrote:
On Mon, Mar 8, 2010 at 5:37 PM, Ondrej Certik ond...@certik.cz wrote:
On
On 9 Mrz., 00:40, Maciej Fijalkowski fij...@gmail.com wrote:
I can perform some more benchmarking, if you happen to have some more
comprehensive bench suite than just this :-)
Well, we have one, even if it has probably not been run for ages. See
sympy/utilities/benchmarks. It's not as much as
On 9 Mrz., 00:49, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 8, 2010 at 3:05 PM, yavor...@mail.bg gerund...@gmail.com wrote:
Hi there, I kind of wanted to participate in this year's GSOC, and I
looked through the suggestions and I couldn't help noticing there are
no suggestions for
54 matches
Mail list logo