Issue 1251 in sympy: calling test() twice fails

2008-12-30 Thread codesite-noreply
Updates: Status: Duplicate Comment #3 on issue 1251 by goriccardo: calling test() twice fails http://code.google.com/p/sympy/issues/detail?id=1251 Sorry! -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You

Issue 1141 in sympy: sympy/core/tests/test_var.py fails when executed 2x inside one python session

2008-12-30 Thread codesite-noreply
Comment #4 on issue 1141 by ondrej.certik: sympy/core/tests/test_var.py fails when executed 2x inside one python session http://code.google.com/p/sympy/issues/detail?id=1141 Excellent, let me know if you have any problems. -- You received this message because you are listed in the owner or

Re: [PATCH] refactor Rational._eval_power

2008-12-30 Thread Ondrej Certik
On Tue, Dec 30, 2008 at 11:18 AM, fabian.seo...@gmail.com wrote: From: Fabian Seoane fab...@fseoane.net implemented factoring on negative roots, now (-8)**Rational(1,3) returns 2*(-1)**Rational(1,3). This is important, for example, in solve, so that it doesen't return uneecesarry long

[sympy] Re: is it possible?

2008-12-30 Thread Ondrej Certik
Dear Olfa, On Tue, Dec 30, 2008 at 5:30 AM, olfa olfa.mra...@yahoo.fr wrote: Hi Mr Ondrej, Do you know an algorithm for calculating the thing you want? If so, let's implement that in sympy. No, unfortunately I don't know. So for example you can compare lists with something like: In [2]: m

[sympy] Re: Sphinx

2008-12-30 Thread Ondrej Certik
Hi Alan, On Mon, Dec 29, 2008 at 6:26 AM, Alan Bromborsky abro...@verizon.net wrote: In sphinx/rst how do you center a table? Have you tried .. centered::? http://sphinx.pocoo.org/markup/para.html#dir-centered Ondrej --~--~-~--~~~---~--~~ You received this

[sympy] Re: Summations for machine learning applications

2008-12-30 Thread Ondrej Certik
Hi Danny! On Mon, Dec 29, 2008 at 4:01 PM, Danny Tarlow dannytar...@gmail.com wrote: [...] Is this possible to do with Sympy? If I were interested in working on something like this, how hard would it be for a sympy newbie (but competent programmer) to implement? Any tips on where to start?

[sympy] Re: Use cases for complicated pattern matching/replacement?

2008-12-30 Thread Ondrej Certik
But this only happens when importing from the silvereye root directory, as it tries to import fromt he silvereye dir, which only contains the .pyx file. So just moving a_parser.py somewhere else fixes that. Yes. This is similar to other packages with extension modules like numpy. Right.

[sympy] Re: Sphinx

2008-12-30 Thread Ondrej Certik
On Tue, Dec 30, 2008 at 8:41 AM, Alan Bromborsky abro...@verizon.net wrote: Ondrej Certik wrote: Hi Alan, On Mon, Dec 29, 2008 at 6:26 AM, Alan Bromborsky abro...@verizon.net wrote: In sphinx/rst how do you center a table? Have you tried .. centered::?

[sympy] Sending updates

2008-12-30 Thread Alan Bromborsky
I have gotten the latest sympy distribution with git, have commited my changes to galgebra. Now how do I send the revised distribution back to you? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sympy group. To

[sympy] Re: Documentation

2008-12-30 Thread Ondrej Certik
On Tue, Dec 30, 2008 at 8:45 AM, Alan Bromborsky abro...@verizon.net wrote: How should I send you the documentation I have generated with sphinx for the modules I have written. The best thing is to write a patch with respect to the latest sympy, see our tutorial here:

[sympy] Re: Sending updates

2008-12-30 Thread Ondrej Certik
On Tue, Dec 30, 2008 at 10:15 AM, Alan Bromborsky abro...@verizon.net wrote: I have gotten the latest sympy distribution with git, have commited my changes to galgebra. Now how do I send the revised distribution back to you? $ git ci -a $ git format-patch -1 and send the generated patch.

[sympy] Re: Documentation

2008-12-30 Thread Alan Bromborsky
Ondrej Certik wrote: On Tue, Dec 30, 2008 at 8:45 AM, Alan Bromborsky abro...@verizon.net wrote: How should I send you the documentation I have generated with sphinx for the modules I have written. The best thing is to write a patch with respect to the latest sympy, see our

[sympy] Re: Documentation

2008-12-30 Thread Ondrej Certik
On Tue, Dec 30, 2008 at 11:08 AM, Alan Bromborsky abro...@verizon.net wrote: Ondrej Certik wrote: On Tue, Dec 30, 2008 at 8:45 AM, Alan Bromborsky abro...@verizon.net wrote: How should I send you the documentation I have generated with sphinx for the modules I have written. The best

[sympy] Re: Summations for machine learning applications

2008-12-30 Thread Danny
Hi Ondrej, Thanks for the quick response. I took a look at the Sum class tests, but there is still one part I'm not clear on. In defining a summation, I would like to have the sum over an array of symbols, indexed by an iterate. For example, In the sum \sum_{i=0}^4 tau_i, I'd like each

[sympy] Re: Summations for machine learning applications

2008-12-30 Thread Ondrej Certik
2008/12/30 Danny dannytar...@gmail.com: Hi Ondrej, Thanks for the quick response. I took a look at the Sum class tests, but there is still one part I'm not clear on. In defining a summation, I would like to have the sum over an array of symbols, indexed by an iterate. For example, In

[sympy] Re: Sending updates

2008-12-30 Thread Alan Bromborsky
Ondrej Certik wrote: On Tue, Dec 30, 2008 at 10:59 AM, Alan Bromborsky abro...@verizon.net wrote: Ondrej Certik wrote: On Tue, Dec 30, 2008 at 10:15 AM, Alan Bromborsky abro...@verizon.net wrote: I have gotten the latest sympy distribution with git, have commited my

[sympy] Re: Sending updates

2008-12-30 Thread Ondrej Certik
Trying again. Now it works, thanks! If all tests pass, I'll push it in. Note that when I try 'git ci -a' I get // bro...@ga:~/SYMPY-git/sympy$ git ci -a git: 'ci' is not a git-command. See 'git --help'. I used git-citool You need to have this in your ~/.gitconfig: [alias] ci =

[sympy] Re: Sending updates

2008-12-30 Thread Alan Bromborsky
Ondrej Certik wrote: On Tue, Dec 30, 2008 at 12:26 PM, Ondrej Certik ond...@certik.cz wrote: Trying again. Now it works, thanks! If all tests pass, I'll push it in. This test failed: sympy/utilities/tests/test_code_quality.py:test_no_trailing_whitespace_and_no_tabs

[sympy] Re: Sending updates

2008-12-30 Thread Ondrej Certik
OK all tests now pass patch attached. Documentation not yet included. Documentation archive is 2.8MB (not tarred and zipped) is this OK to put in distribution. That's quite big --- could you post it somewhere? I'll see if it can be made smaller. Ondrej

[sympy] Re: Sending updates

2008-12-30 Thread mabshoff
On Dec 30, 2:58 pm, Alan Bromborsky abro...@verizon.net wrote: Ondrej Certik wrote: OK all tests now pass patch attached.  Documentation not yet included. Documentation archive is 2.8MB (not tarred and zipped) is this OK to put in distribution. That's quite big --- could you post it

[sympy] Re: Sending updates

2008-12-30 Thread Alan Bromborsky
mabshoff wrote: On Dec 30, 2:58 pm, Alan Bromborsky abro...@verizon.net wrote: Ondrej Certik wrote: OK all tests now pass patch attached. Documentation not yet included. Documentation archive is 2.8MB (not tarred and zipped) is this OK to put in distribution. That's

[sympy] Re: Sending updates

2008-12-30 Thread mabshoff
On Dec 30, 3:15 pm, Alan Bromborsky abro...@verizon.net wrote: mabshoff wrote: SNIP Hi,  galgebra_doc.tgz 4058KViewDownload Not to be pissy here, but you just send a 4MB archive to the list. Cheers, Michael Should I have sent it directly to Ondrej? Well, Ondrej wrote: That's

[sympy] Re: Sending updates

2008-12-30 Thread Alan Bromborsky
Ondrej Certik wrote: On Tue, Dec 30, 2008 at 3:28 PM, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: On Dec 30, 3:15 pm, Alan Bromborsky abro...@verizon.net wrote: mabshoff wrote: SNIP Hi, galgebra_doc.tgz 4058KViewDownload Not to be

[sympy] Re: Sending updates

2008-12-30 Thread Ondrej Certik
On Tue, Dec 30, 2008 at 4:22 PM, Alan Bromborsky abro...@verizon.net wrote: Ondrej Certik wrote: On Tue, Dec 30, 2008 at 3:28 PM, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: On Dec 30, 3:15 pm, Alan Bromborsky abro...@verizon.net wrote: mabshoff wrote: SNIP Hi,

[sympy] Re: Sending updates

2008-12-30 Thread mabshoff
On Dec 30, 4:33 pm, Ondrej Certik ond...@certik.cz wrote: On Tue, Dec 30, 2008 at 4:22 PM, Alan Bromborsky abro...@verizon.net wrote: SNIP I think we should have just one input format, e.g. if we figure how to convert rst to latex, would it be fine with you? E.g. we could have everything