[sympy] Example of modeling derivations

2011-04-23 Thread Mark Dewing
As a part of trying to understand how to create scientific programs assisted by sympy, I've made a computer model of derivations, so each step could be checked by sympy. Finally I have a simple example using the configurational integral in statistical mechanics. It starts from the general expressi

Re: [sympy] Re: using results from solve

2011-04-23 Thread Aaron S. Meurer
On Apr 23, 2011, at 7:11 PM, Chris Smith wrote: > Vinzent Steinberg wrote: >> On 22 Apr., 16:53, "Chris Smith" wrote: >>> I don't think we should get hung up on the fact that a set of >>> solutions should be returned as a literal set. How that set gets >>> represented/presented is just an interf

Re: [sympy] Re: using results from solve

2011-04-23 Thread Ronan Lamy
Le dimanche 24 avril 2011 à 07:33 +0545, Chris Smith a écrit : > Ronan Lamy wrote: > > Le dimanche 24 avril 2011 à 06:56 +0545, Chris Smith a écrit : > >> Vinzent Steinberg wrote: > >>> On 22 Apr., 16:53, "Chris Smith" wrote: > I don't think we should get hung up on the fact that a set of > >

Re: [sympy] Re: using results from solve

2011-04-23 Thread Chris Smith
Ronan Lamy wrote: > Le dimanche 24 avril 2011 à 06:56 +0545, Chris Smith a écrit : >> Vinzent Steinberg wrote: >>> On 22 Apr., 16:53, "Chris Smith" wrote: I don't think we should get hung up on the fact that a set of solutions should be returned as a literal set. How that set gets r

Re: [sympy] Re: using results from solve

2011-04-23 Thread Ronan Lamy
Le dimanche 24 avril 2011 à 06:56 +0545, Chris Smith a écrit : > Vinzent Steinberg wrote: > > On 22 Apr., 16:53, "Chris Smith" wrote: > >> I don't think we should get hung up on the fact that a set of > >> solutions should be returned as a literal set. How that set gets > >> represented/presented

Re: [sympy] Re: using results from solve

2011-04-23 Thread Chris Smith
Vinzent Steinberg wrote: > On 22 Apr., 16:53, "Chris Smith" wrote: >> I don't think we should get hung up on the fact that a set of >> solutions should be returned as a literal set. How that set gets >> represented/presented is just an interface issue. I don't see >> anything wrong with presenting

Re: [sympy] Re: exp(O(x)).series() fails while exp(O(x)).series(n=1) succeeds.

2011-04-23 Thread Chris Smith
Frédéric Grosshans-André wrote: > Another strategy seems possible, and I think, simple enough for me to > program. However, I'm not a programmer, and I don't know sympy well > enough to know if my idea is stupid or not. > > I think about a parameter to series() to manually tell it should only > re

Re: [sympy] Re: polys12 plan

2011-04-23 Thread Ondrej Certik
I am +1 to push this in now. Ondrej Sent from mobile phone On Apr 23, 2011 1:26 PM, "Mateusz Paprocki" wrote: > Hi, > > On 23 April 2011 22:05, Vinzent Steinberg > wrote: > >> On 23 Apr., 04:31, Mateusz Paprocki wrote: >> > Testing 32-bit setup right now, but it will take ages to finish on >> m

Re: [sympy] Re: polys12 plan

2011-04-23 Thread Aaron S. Meurer
By the way, I can't reproduce this error on my machine. So something is very platform dependent (probably depending on the order of iteration through a dictionary or something) and should be fixed. In the mean time, maybe we should just XFAIL the test. Aaron Meurer On Apr 23, 2011, at 2:26 P

[sympy] Re: using results from solve

2011-04-23 Thread Vinzent Steinberg
On 22 Apr., 16:53, "Chris Smith" wrote: > I don't think we should get hung up on the fact that a set of solutions > should be returned as a literal set. How that set gets represented/presented > is just an interface issue. I don't see anything wrong with presenting the > set as elements in a li

Re: [sympy] Re: polys12 plan

2011-04-23 Thread Mateusz Paprocki
Hi, On 23 April 2011 22:05, Vinzent Steinberg wrote: > On 23 Apr., 04:31, Mateusz Paprocki wrote: > > Testing 32-bit setup right now, but it will take ages to finish on > my > > > laptop. > > > > Done. Besides the standard set of failures, there is an additional one > > (Python 2.7): > > > > __

[sympy] Re: polys12 plan

2011-04-23 Thread Vinzent Steinberg
On 23 Apr., 04:31, Mateusz Paprocki wrote: > Testing 32-bit setup right now, but it will take ages to finish on my > > laptop. > > Done. Besides the standard set of failures, there is an additional one > (Python 2.7): > > __ sympy/solvers/tests/test_solvers.py:test_tsolve_1 >

Re: [sympy] Re: exp(O(x)).series() fails while exp(O(x)).series(n=1) succeeds.

2011-04-23 Thread Frédéric Grosshans-André
Le samedi 23 avril 2011 à 06:29 +0545, Chris Smith a écrit : > > nseries is allowed to give (quickly) something close to the request. > It may not. series used to not give what was requested. Now it tries > to and raises an error if it can't. What it needs is a method of > knowing when the 6 terms

[sympy] Pull request 184

2011-04-23 Thread SherjilOzair
Hey everyone, The pull request 184 [0] has some work on Cholesky and LDL decomposition with some very useful auxiliary functions like triangular and diagonal solves. Its been waiting to be pushed in for a long time now. It enables solving for least square which currently sympy completely lacks. Ma

Re: [sympy] polys12 plan

2011-04-23 Thread Mateusz Paprocki
Hi, On 23 April 2011 09:33, Mateusz Paprocki wrote: > Hi, > > On 23 April 2011 04:20, Aaron S. Meurer wrote: > >> >> On Apr 22, 2011, at 5:24 PM, Mateusz Paprocki wrote: >> >> Hi, >> >> On 22 April 2011 15:39, Aaron S. Meurer wrote: >> >>> On Apr 22, 2011, at 4:23 PM, Ondrej Certik wrote: >>>

Re: [sympy] polys12 plan

2011-04-23 Thread Mateusz Paprocki
Hi, On 23 April 2011 04:20, Aaron S. Meurer wrote: > > On Apr 22, 2011, at 5:24 PM, Mateusz Paprocki wrote: > > Hi, > > On 22 April 2011 15:39, Aaron S. Meurer wrote: > >> On Apr 22, 2011, at 4:23 PM, Ondrej Certik wrote: >> >> > On Fri, Apr 22, 2011 at 1:39 PM, Ronan Lamy >> wrote: >> >> Le v