Re: Issue 2639 in sympy: Product() is seriously broken

2011-12-11 Thread sympy
Comment #14 on issue 2639 by asmeu...@gmail.com: Product() is seriously broken http://code.google.com/p/sympy/issues/detail?id=2639 Also, product() and Product() need better docstrings with examples. -- You received this message because you are subscribed to the Google Groups sympy-issues

Re: Issue 2863 in sympy: Plotting failures with SymPy-Bot

2011-12-11 Thread sympy
Comment #6 on issue 2863 by asmeu...@gmail.com: Plotting failures with SymPy-Bot http://code.google.com/p/sympy/issues/detail?id=2863 I just noticed that it is now giving instead: sympy/plotting/tests/test_plotting.py[11] ... [OK]

[sympy] Re: Getting rid of tiny imaginary parts in eigenvalues

2011-12-11 Thread pedda
Hello everyone, thank you very much for your participation! I have attached the code. It is probably not the cleanest you can find, but it works for now.. You can control the size of the matrix by setting the variables sites, n_up, and n_down which I have moved to the top of the script. The goal

Re: [sympy] Re: Getting rid of tiny imaginary parts in eigenvalues

2011-12-11 Thread Chris Smith
On Sun, Dec 11, 2011 at 4:25 PM, pedda notforyou...@hmamail.com wrote: Hello everyone, thank you very much for your participation! I have attached the code. Have you checked to see if there are any tricks in The one-dimensional Hubbard model By Fabian H. L. Essler (viewable at google books)?

[sympy] Re: Getting rid of tiny imaginary parts in eigenvalues

2011-12-11 Thread pedda
Sure, you can download it from here: https://gist.github.com/ee7157b4446dfe5a20fb Chris, the book was recommended us during class but as far as I know they only treat analytically solvable cases. People love this model which is why the book is still hundreds of pages thick without talking about

[sympy] sympy-bot crashes when PR is not mergeable

2011-12-11 Thread krastanov.ste...@gmail.com
Hi, Am I the only one to get this error: Auto-merging doc/src/modules/assumptions/index.txt Auto-merging sympy/core/expr.py CONFLICT (content): Merge conflict in sympy/core/expr.py Automatic merge failed; fix conflicts and then commit the result. Done. View log at:

Re: [sympy] sympy-bot crashes when PR is not mergeable

2011-12-11 Thread Aaron Meurer
I also get it. Can you open an issue in the SymPy-bot tracker for it (or better yet, submit a pull request fixing it)? It's similar to https://github.com/sympy/sympy-bot/issues/64. Aaron Meurer On Sun, Dec 11, 2011 at 2:42 PM, krastanov.ste...@gmail.com krastanov.ste...@gmail.com wrote: Hi,

Re: [sympy] should radical removal be optional or automatic with as_content_primitive

2011-12-11 Thread Aaron Meurer
Some better information about this is at http://planetmath.org/encyclopedia/ContentOfPolynomial.html. Aaron Meurer On Sat, Dec 10, 2011 at 1:08 AM, Aaron Meurer asmeu...@gmail.com wrote: I don't think this is a good idea.  The problem is that these algebraic domains are not in general unique

[sympy] Import combinatorics in __init__

2011-12-11 Thread Matt Habel
So, I was doing a GCI task that involved cleaning up doctests in combinatorics, and I thought, why isn't this imported initially? So, I imported it, ran timeit tests with and without it being imported, and the difference is only about .04-.05 seconds (.36 - ~.4). What do you think about keeping it

Re: [sympy] should radical removal be optional or automatic with as_content_primitive

2011-12-11 Thread Chris Smith
On Mon, Dec 12, 2011 at 4:54 AM, Aaron Meurer asmeu...@gmail.com wrote: Some better information about this is at http://planetmath.org/encyclopedia/ContentOfPolynomial.html. I'm not trying to factor numbers algebraically, just remove a common radical in the same way that content factors out a

Re: [sympy] sympy-bot crashes when PR is not mergeable

2011-12-11 Thread Ondřej Čertík
On Sun, Dec 11, 2011 at 1:42 PM, krastanov.ste...@gmail.com krastanov.ste...@gmail.com wrote: Hi, Am I the only one to get this error: Auto-merging doc/src/modules/assumptions/index.txt Auto-merging sympy/core/expr.py CONFLICT (content): Merge conflict in sympy/core/expr.py Automatic merge

Re: [sympy] Import combinatorics in __init__

2011-12-11 Thread Ondřej Čertík
Hi Matt, On Sun, Dec 11, 2011 at 6:40 PM, Matt Habel habel...@gmail.com wrote: So, I was doing a GCI task that involved cleaning up doctests in combinatorics, and I thought, why isn't this imported initially? So, I imported it, ran timeit tests with and without it being imported, and the