[sympy] Replacing tuple with Tuple in Sum and Integral

2010-10-03 Thread Mark Dewing
Here's a first pass at replacing the tuple in the Sum/Integral limits with Tuple. http://github.com/markdewing/sympy/tree/limit-tuple All the tests pass, but I didn't try it beyond the set of tests. -- You received this message because you are subscribed to the Google Groups "sympy" group. To

[sympy] 2003 branch is open

2010-10-03 Thread smichr
In branch 2003 (github/smichr/2003) significant reorganization of factoring behavior was made. Anyone who is interested in such things can test it out and provide feedback. The big change (inspired by the discussion of "cancellation in sqrt(a * x**2) / (b * x), with x being a NUMBER") was to relea

Re: [sympy] Replacing tuple with Tuple in Sum and Integral

2010-10-03 Thread Aaron S. Meurer
This looks good. Can you send a pull request to sympy/sympy:master via GitHub? Just click the "Pull Request" button in GitHub in your branch, and make sure it is sent to sympy/sympy:master. Aaron Meurer On Oct 3, 2010, at 6:49 AM, Mark Dewing wrote: > Here's a first pass at replacing the tup

Re: [sympy] 2003 branch is open

2010-10-03 Thread Aaron S. Meurer
Great! Can you send that pull request through GitHub. It makes reviewing a branch SUPER easy. All you have to do is send the request once. Everything else is done automatically, e.g., it updates itself when you push to the branch, it closes itself when it is merged in with master, it notifie

[sympy] Working with as_independent

2010-10-03 Thread Nicholas Kinar
Hello, I've been testing my script again to perform algebraic re-arrangement of equations, and I've found that the sample expression (expr) given below does not seem to be re-arranged correctly. As discussed on this mailing list, I would like to set up the generate_fdtd() function to do the

Re: [sympy] Working with as_independent

2010-10-03 Thread Aaron Meurer
On Sun, Oct 3, 2010 at 5:34 PM, Nicholas Kinar wrote: > Hello, > > I've been testing my script again to perform algebraic re-arrangement of > equations, and I've found that the sample expression (expr) given below does > not seem to be re-arranged correctly. > > As discussed on this mailing list,

Re: [sympy] Working with as_independent

2010-10-03 Thread Nicholas Kinar
I am currently using the fix_collect branch of Oyvind's repository, and I've also changed the code so that Idx is subclassed from Expr. This has been pushed in, so you can use the official master again. Aaron Meurer Thank, Aaron; that's good to know, since now I can write research

Re: [sympy] Working with as_independent

2010-10-03 Thread Chris Smith
Nicholas Kinar wrote: >> However, as the output shows below, the term p(1, >> 2)**n/(deltat**2*deltax**2) is still on the LHS of the expression, to >> the immediate left of the == sign. As I understand, the If you use master it all works. IndexedElement is now called IndexedBase (but you weren't

[sympy] Re: 2003 branch is open

2010-10-03 Thread Chris Smith
Aaron S. Meurer wrote: > While you are doing that, I have one question. You state that trial > division is faster than the more advanced algorithm in factorint. > Have you throughly tested this with timings? This is a sensitive > part of the code, so I only want to make sure that it is as fast a

Re: [sympy] Working with as_independent

2010-10-03 Thread Nicholas Kinar
Nicholas Kinar wrote: However, as the output shows below, the term p(1, 2)**n/(deltat**2*deltax**2) is still on the LHS of the expression, to the immediate left of the == sign. As I understand, the If you use master it all works. IndexedElement is now called IndexedBase (but you