Re: [sympy] What happens, at a high level, when you factor this expression?

2011-06-23 Thread Aaron Meurer
On Fri, Jun 24, 2011 at 12:33 AM, Jeff Pickhardt wrote: > Thanks guys, this is great stuff.  You might want to memorialize this on a > wiki or something for newcomers to SymPy. That's a good idea. > > So a little bit about my background with Python: I'm a pretty experienced > Python programming,

Re: [sympy] What happens, at a high level, when you factor this expression?

2011-06-23 Thread Jeff Pickhardt
Thanks guys, this is great stuff. You might want to memorialize this on a wiki or something for newcomers to SymPy. So a little bit about my background with Python: I'm a pretty experienced Python programming, I understand operator overloading, I see your @_sympifyit decorators all over the place

Re: [sympy] Problem with evaluating rotation operator

2011-06-23 Thread Brian Granger
I know this has already been merged, but I wanted to say that this as well as the other PR that was merged look extremely good. The test coverage is fantastic and will give us a super-solid foundation to build everything else on. Great work! On Wed, Jun 22, 2011 at 5:39 PM, Ondrej Certik wrote:

Re: [sympy] What happens, at a high level, when you factor this expression?

2011-06-23 Thread Aaron Meurer
Well, you picked a particularly tricky example because it uses both the main core and the polys. So let's start with my_expresion (the core part). You already know that x is defined to be a Symbol object (because you did this yourself). You should also know that sin and cos are Function objects,

Re: [sympy] What happens, at a high level, when you factor this expression?

2011-06-23 Thread Chris Smith
On Fri, Jun 24, 2011 at 12:42 AM, Jeff Pickhardt wrote: > Hey guys, > > I'm reading through the SymPy code and, well, it's somewhat overwhelming if > you're new to the project because there's so much going on. (That's a good > thing too - it means its robust!) > > Can someone help explain how thi

[sympy] What happens, at a high level, when you factor this expression?

2011-06-23 Thread Jeff Pickhardt
Hey guys, I'm reading through the SymPy code and, well, it's somewhat overwhelming if you're new to the project because there's so much going on. (That's a good thing too - it means its robust!) Can someone help explain how this works? >>> from sympy import * >>> x = Symbol("x") >>> my_expressi

Re: [sympy] Bug in collect

2011-06-23 Thread Aaron Meurer
Hi. Your expression is rather complicated, but as far as I can tell, you did find a bug. Can you report it in our issue tracker (http://code.google.com/p/sympy/issues/list)? Also, if you can find a simpler expression that exhibits the same problem, that would help a lot too. By the way, you don

Re: [sympy] Graph thoery in sympy

2011-06-23 Thread Aaron S. Meurer
During some of the discussions from GSoC, we decided that reimplementing one of the dozen of graph theory modules (including networkx) in SymPy would be a waste of time. However, if the graph theory were done in a symbolic way, so that it would really require SymPy to be implemented, then I t

Re: [sympy] Test failure in 0.7.0 pysics.quantum.matrixcache

2011-06-23 Thread Aaron S. Meurer
On Jun 22, 2011, at 8:51 AM, Ondrej Certik wrote: > On Wed, Jun 22, 2011 at 12:09 AM, Aaron Meurer wrote: >> So far, I've coded up an import_module function, that wraps the try, >> except ImportError logic into a single unified function. It has >> support for checking the module version and the

[sympy] Bug in collect

2011-06-23 Thread Kemelli
Hello! I think I found a bug on collect. Can anyone tell me, please, if either it is indeed a bug or I am doing something wrong? Thanks a lot! var('Q3,Q3n,R3') var('twopi_invLx twopi_invLy twopi_invLz', real=True) var(""" a_u0,a_ux,a_uxy,a_uxz,a_uy,a_uyz,a_uz,b_ux,b_uxy,b_uxz,b_uy,b_uyz,b_uz, c

Re: [sympy] Test failure in 0.7.0 pysics.quantum.matrixcache

2011-06-23 Thread Aaron Meurer
OK, I've finished it up. See https://github.com/sympy/sympy/pull/451. Please review the changes to that branch, and also if you have the chance, test it as you would the release candidate, as this should be the last fix needed for the 0.7.0 release. Aaron Meurer -- You received this message