Issue 1480 in sympy: Implement test coverage utility

2009-06-24 Thread codesite-noreply
Comment #10 on issue 1480 by ondrej.certik: Implement test coverage utility http://code.google.com/p/sympy/issues/detail?id=1480 ..+1, push it in please. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may

Issue 1337 in sympy: find all instances in an expression

2009-06-24 Thread codesite-noreply
Comment #8 on issue 1337 by wflynny: find all instances in an expression http://code.google.com/p/sympy/issues/detail?id=1337 Hey, I've been working on this find/sub method and I think I have a working prototype. Check it out. So far, it passes the tests to do what I need it to but its

Issue 1358 in sympy: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative

2009-06-24 Thread codesite-noreply
Comment #25 on issue 1358 by wflynny: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative http://code.google.com/p/sympy/issues/detail?id=1358 Here is the relevant part of my run: C:\Python25\Lib\site-packages\sympypy.test.exe = test session starts

Issue 1337 in sympy: find all instances in an expression

2009-06-24 Thread codesite-noreply
Comment #9 on issue 1337 by wflynny: find all instances in an expression http://code.google.com/p/sympy/issues/detail?id=1337 Here's a slightly better version. It does the sin/cos - tan stuff. I'm thinking about making it better in a bunch of ways. One of which is to have it be of the form

Issue 1486 in sympy: Tests for sympy.logic

2009-06-24 Thread codesite-noreply
Updates: Status: Fixed Comment #7 on issue 1486 by fab...@fseoane.net: Tests for sympy.logic http://code.google.com/p/sympy/issues/detail?id=1486 Added some more tests for dpll and pushed it in. http://git.sympy.org/?p=sympy.git;a=commit;h=126c5d464d757f48ae58e5ab4ff732a079552ca7 --

Issue 1481 in sympy: Error raised: Matrix([[1,2],[3,4]])**Integer(2)

2009-06-24 Thread codesite-noreply
Updates: Status: Fixed Comment #2 on issue 1481 by mattpap: Error raised: Matrix([[1,2],[3,4]])**Integer(2) http://code.google.com/p/sympy/issues/detail?id=1481 An easy one. :) Yes, indeed. Your patch is in:

Issue 1485 in sympy: new logic module (TODO before 0.6.5)

2009-06-24 Thread codesite-noreply
Comment #4 on issue 1485 by fab...@fseoane.net: new logic module (TODO before 0.6.5) http://code.google.com/p/sympy/issues/detail?id=1485 fixed the deprecationwarning in http://git.sympy.org/?p=sympy.git;a=commit;h=b09c534c0a3bb0359329f4fce8df5b3fe5625ccf -- You received this message because

Issue 1480 in sympy: Implement test coverage utility

2009-06-24 Thread codesite-noreply
Comment #11 on issue 1480 by fab...@fseoane.net: Implement test coverage utility http://code.google.com/p/sympy/issues/detail?id=1480 done http://git.sympy.org/?p=sympy.git;a=commit;h=8cfa62d33a3ff23d71e055d7d2d9fc10b5e55d53 Thanks Ronan for this wonderful tool. Can this issue be closed now

Issue 1358 in sympy: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative

2009-06-24 Thread codesite-noreply
Comment #26 on issue 1358 by ondrej.certik: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative http://code.google.com/p/sympy/issues/detail?id=1358 Are you testing with py.test or with sympy tests? E.g. are you executing bin/test from the sympy git repository? Alternatively, you can

Issue 1358 in sympy: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative

2009-06-24 Thread codesite-noreply
Comment #27 on issue 1358 by wflynny: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative http://code.google.com/p/sympy/issues/detail?id=1358 yeah I've been working on those failing tests. here's a patch I suggest you add to function/special/test/test_spec_functions.py -- You

Issue 1358 in sympy: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative

2009-06-24 Thread codesite-noreply
Comment #28 on issue 1358 by wflynny: (e*f*e*f).subs(e*f,f*e+h) fails if e*f is not commutative http://code.google.com/p/sympy/issues/detail?id=1358 yeah I've been working on those failing tests. here's a patch I suggest you add to function/special/test/test_spec_functions.py Attachments:

Issue 1337 in sympy: find all instances in an expression

2009-06-24 Thread codesite-noreply
Comment #11 on issue 1337 by wflynny: find all instances in an expression http://code.google.com/p/sympy/issues/detail?id=1337 Where should it be integrated? In Basic? I'm not too sure what to do from here. -- You received this message because you are listed in the owner or CC fields of this

Issue 1485 in sympy: new logic module (TODO before 0.6.5)

2009-06-24 Thread codesite-noreply
Comment #5 on issue 1485 by fab...@fseoane.net: new logic module (TODO before 0.6.5) http://code.google.com/p/sympy/issues/detail?id=1485 xfailed tests fixed here http://git.sympy.org/?p=sympy.git;a=commit;h=a107ff59b777f392bf60ed312197a50a83148328 -- You received this message because you

Issue 1442 in sympy: mathml patches

2009-06-24 Thread codesite-noreply
Updates: Status: Fixed Comment #4 on issue 1442 by fab...@fseoane.net: mathml patches http://code.google.com/p/sympy/issues/detail?id=1442 I think all MathML patches by Thomas Sidoti where squashed and pushed in

Patch for issue 1481

2009-06-24 Thread nico
Hi, this patch needs review : http://code.google.com/p/sympy/issues/detail?id=1481start=100 Thanks, Nicolas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sympy-patches group. To post to this group, send email

two workflow/procedure questions

2009-06-24 Thread Ryan Krauss
So, I have a personal git sympy repo on github and have finally learned enough to be useful to the project (I hope). Question #1: One problem I ran into is that while I was figuring things out and cleaning up the mess I made of my own branches, other people submitted various patches. So, I

Re: two workflow/procedure questions

2009-06-24 Thread Aaron S. Meurer
On Jun 24, 2009, at 11:23 AM, Vinzent Steinberg wrote: 2009/6/24 Ryan Krauss ryanli...@gmail.com So, I have a personal git sympy repo on github and have finally learned enough to be useful to the project (I hope). Question #1: One problem I ran into is that while I was figuring things

Re: two workflow/procedure questions

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 1:00 PM, Aaron S. Meurerasmeu...@gmail.com wrote: On Jun 24, 2009, at 11:23 AM, Vinzent Steinberg wrote: 2009/6/24 Ryan Krauss ryanli...@gmail.com So, I have a personal git sympy repo on github and have finally learned enough to be useful to the project (I hope).

Re: latex matrix printing

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 12:37 PM, Ryan Kraussryanli...@gmail.com wrote: I have added a feature to allow latex users to specify the matrix type and delimitter in _print_Matrix.  It is in this branch: git://github.com/ryanGT/sympy.git The approach works for me, but it is no longer as clean to

Re: two workflow/procedure questions

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 3:50 PM, Ryan Kraussryanli...@gmail.com wrote: So, with Aaron's help, I am almost getting my mind around this.  Maybe I am creating my branches correctly and I just don't know how to test merging two of them in a row into a test branch or on another machine or in a new

Re: two workflow/procedure questions

2009-06-24 Thread Ryan Krauss
So, it sounds like you are saying that either should work, right? I may be the cause of my own problem. It seems that my inline branch also includes the mainvar branch: ryan|04:59 PM|~/git_temp/sympy (temp_inline)$ git diff github/mainvar github/inline diff --git a/sympy/printing/latex.py

Re: two workflow/procedure questions

2009-06-24 Thread Ryan Krauss
When you create videos from now on, can you also save your bash history to a txt file and make it available. I re-watch some of the videos to write down commands. On Wed, Jun 24, 2009 at 5:26 PM, Ondrej Certik ond...@certik.cz wrote: On Wed, Jun 24, 2009 at 4:09 PM, Ryan

Re: two workflow/procedure questions

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 4:44 PM, Ryan Kraussryanli...@gmail.com wrote: When you create videos from now on, can you also save your bash history to a txt file and make it available.  I re-watch some of the videos to write down commands. Yes, sure. Ondrej

[sympy] How to host any video on a webpage

2009-06-24 Thread Ondrej Certik
Hi, thanks to flowplayer[0] one can easily host any video on a webpage, here is a demo: http://certik.github.com/record/ all that is needed is to convert to the FLV format (for which you can use the theora2flv script from the above git repository) and upload it somewhere on the internet. Then

[sympy] Re: How to host any video on a webpage

2009-06-24 Thread Vinzent Steinberg
On Jun 24, 8:23 am, Ondrej Certik ond...@certik.cz wrote: Hi, thanks to flowplayer[0] one can easily host any video on a webpage, here is a demo: http://certik.github.com/record/ The quality is partly quite bad, so you can hardly read the text due to rendering artifacts. Firefox 3.5

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Sebastian Haase
On Wed, Jun 24, 2009 at 11:06 AM, smichr smi...@gmail.com wrote: If someone has access to Mathematica, could you see if it solves the equation, exp(x*(x-3))=2*(x-1)*(x-2) The Web-mathematica doesn't (at http://72.3.253.76/webMathematica3/quickmath/page.jsp?s1=equationss2=solves3=basic)

[sympy] Re: jealous of Ondrej's (branch) bash prompt

2009-06-24 Thread Ryan Krauss
I think the single quote vs. double quote thing is because there are double quotes inside of the string. If I change the outside single quotes to double, I get strange behavior like you mentioned earlier. On Tue, Jun 23, 2009 at 11:33 PM, Aaron S. Meurer asmeu...@gmail.comwrote: OK, so this

[sympy] Re: Complex Infinity

2009-06-24 Thread Luke
Is there a reason it returns complex infinity versus just infinity? Does it have to do with the assumptions about the variables? Does anybody know an example where Mathematica returns just regular infinity? ~Luke On Jun 23, 10:23 am, Ondrej Certik ond...@certik.cz wrote: 2009/6/23 Roberto

[sympy] Re: Complex Infinity

2009-06-24 Thread Luke
Here is the link to the Wolfram Documentation for ComplexInfinity: http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html Their one line documentation is: represents a quantity with infinite magnitude, but undetermined complex phase. Everything I've tried in Wolfram returns

[sympy] Re: Complex Infinity

2009-06-24 Thread Fredrik Johansson
On 6/24/09, Luke hazelnu...@gmail.com wrote: Here is the link to the Wolfram Documentation for ComplexInfinity: http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html Their one line documentation is: represents a quantity with infinite magnitude, but undetermined complex

[sympy] Re: How to host any video on a webpage

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 3:32 AM, Vinzent Steinbergvinzent.steinb...@googlemail.com wrote: On Jun 24, 8:23 am, Ondrej Certik ond...@certik.cz wrote: Hi, thanks to flowplayer[0] one can easily host any video on a webpage, here is a demo: http://certik.github.com/record/ The quality is

[sympy] Re: Complex Infinity

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 9:44 AM, Fredrik Johanssonfredrik.johans...@gmail.com wrote: On 6/24/09, Luke hazelnu...@gmail.com wrote:  Here is the link to the Wolfram Documentation for ComplexInfinity:  http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html  Their one line

[sympy] Re: Complex Infinity

2009-06-24 Thread Alan Bromborsky
Fredrik Johansson wrote: On 6/24/09, Luke hazelnu...@gmail.com wrote: Here is the link to the Wolfram Documentation for ComplexInfinity: http://reference.wolfram.com/mathematica/ref/ComplexInfinity.html Their one line documentation is: represents a quantity with infinite magnitude,

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 6:18 AM, Sebastian Haaseseb.ha...@gmail.com wrote: On Wed, Jun 24, 2009 at 11:06 AM, smichr smi...@gmail.com wrote: If someone has access to Mathematica, could you see if it solves the equation, exp(x*(x-3))=2*(x-1)*(x-2) The Web-mathematica doesn't (at

[sympy] Re: how to make step by step solving system from sympy

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 6:39 AM, Jurgis Pralgauskisjurgis.pralgaus...@gmail.com wrote: hello, I'd like to utilize sympy for secondary school problem solving stepbystep way with each action explained. maple student package has sth similar, I heard my first try is

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Alan Bromborsky
Ondrej Certik wrote: On Wed, Jun 24, 2009 at 6:18 AM, Sebastian Haaseseb.ha...@gmail.com wrote: On Wed, Jun 24, 2009 at 11:06 AM, smichr smi...@gmail.com wrote: If someone has access to Mathematica, could you see if it solves the equation, exp(x*(x-3))=2*(x-1)*(x-2) The

[sympy] Thesis Project - sympy.statistics

2009-06-24 Thread cjkogan111
Hey, I am a statistics graduate student interested in working on sympy for a thesis project. I thought it would be interesting to try to give the statistics module some of the features of mathstatica (an addin for mathematica.) The department I am part of seems concerned about: a) Lack of a

[sympy] Re: Thesis Project - sympy.statistics

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 11:27 AM, cjkogan111cjkogan...@gmail.com wrote: Hey, I am a statistics graduate student interested in working on sympy for a thesis project. I thought it would be interesting to try to give the statistics module some of the features of mathstatica (an addin for

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Aaron S. Meurer
Or you could use the LambertW function. Maple gives solve(exp(x*(x-3))=2*(x-1)*(x-2),x); 3/2+(1/2)*sqrt(1-4*LambertW(-(1/2)*exp(-2))), 3/2- (1/2)*sqrt(1-4*LambertW(-(1/2)*exp(-2))), 3/2+(1/2)*sqrt(1-4*LambertW(-1, -(1/2)*exp(-2))), 3/2- (1/2)*sqrt(1-4*LambertW(-1, -(1/2)*exp(-2))) from

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 12:51 PM, Aaron S. Meurerasmeu...@gmail.com wrote: Or you could use the LambertW function.  Maple gives   solve(exp(x*(x-3))=2*(x-1)*(x-2),x); 3/2+(1/2)*sqrt(1-4*LambertW(-(1/2)*exp(-2))), 3/2- (1/2)*sqrt(1-4*LambertW(-(1/2)*exp(-2))), 3/2+(1/2)*sqrt(1-4*LambertW(-1,

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Aaron S. Meurer
Oh. I looked at the lowercase l's in dir(), so I didn't see it. It would be great if solve(x*exp(x)-y,x) returned LambertW(y) (now it raises NotImplemented), and then we could expand it to solve the equation below. Aaron Meurer On Jun 24, 2009, at 12:54 PM, Ondrej Certik wrote: On

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 1:09 PM, Aaron S. Meurerasmeu...@gmail.com wrote: Oh.  I looked at the lowercase l's in dir(), so I didn't see it.  It would be great if solve(x*exp(x)-y,x) returned LambertW(y) (now it raises NotImplemented), and then we could expand it to solve the equation below.

[sympy] Re: Thesis Project - sympy.statistics

2009-06-24 Thread Robert Kern
On Wed, Jun 24, 2009 at 12:27, cjkogan111cjkogan...@gmail.com wrote: Hey, I am a statistics graduate student interested in working on sympy for a thesis project. A Master's thesis? I thought it would be interesting to try to give the statistics module some of the features of mathstatica

[sympy] Re: Thesis Project - sympy.statistics

2009-06-24 Thread cjkogan111
Thanks Robert Ondrej, I appreciate the helpful comments. I think that might be a good idea to focus, even though what I think would be most helpful to the community is just to make a general stat module. Cheers, Clark On Jun 24, 1:16 pm, Robert Kern robert.k...@gmail.com wrote: On Wed, Jun 24,

[sympy] Re: Thesis Project - sympy.statistics

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 6:36 PM, cjkogan111cjkogan...@gmail.com wrote: Thanks Robert Ondrej, I appreciate the helpful comments. I think that might be a good idea to focus, even though what I think would be most helpful to the community is just to make a general stat module. Indeed. But you

[sympy] Re: Sympy documentation day

2009-06-24 Thread Ondrej Certik
On Wed, Jun 24, 2009 at 8:22 PM, Lukehazelnu...@gmail.com wrote: Ondrej and I are proposing to have a Sympy documentation day one of the following times next week: 1)  Tuesday, June 30th, 6pm-12am PST (Wednesday July 1st, 0200-0800 UTC) 2)  Thursday, July 1st, 6pm-12am PST (Thursday July

[sympy] Re: Complex Infinity

2009-06-24 Thread Ronan Lamy
Wolfram says that log(0) = -infinity. Otherwise, limit(1/exp(log(-x), x, 0, +) = +infinity ! Check this link: http://www53.wolframalpha.com/input/?i=+limit+(1%2Fexp(log(-x))+as+x-%3E0%2B I don't think Mathematica computes limits by substituting x with 0 in the expression, so it's not

[sympy] Re: solution to exp(x*(x-3))-2*(x-1)*(x-2)=0

2009-06-24 Thread smichr
On Jun 24, 9:20 pm, Alan Bromborsky abro...@verizon.net wrote: The equation reduces to exp(w) = 2*exp(2)*w where w = x*(x-3)+2. Wouldn't the solution of w have to be numerical? Is this what you are looking for? ...I think it's exp(w)=2*(w+2). And that's the key. When put in this form, the

[sympy] Hints engine for dsolve

2009-06-24 Thread Aaron S. Meurer
So before I spend a lot of time implementing this, I figured it would be a good idea to get some feedback here on what I plan on doing. As most of you probably know, my Google Summer of Code project is to improve the ordinary differential equation solving capabilities of SymPy. So far, I