[sympy] Re: matching

2009-06-04 Thread Aaron S. Meurer
I cannot reproduce this. match returns None for me in that case. If it returns b:3, then it is wrong. According to the match docstring, if you substitute each element in the dictionary into the match expression, you should get the original expression back. Either way, you should start an

[sympy] matching

2009-06-04 Thread smichr
The following behavior should probably be documented as a feature of pattern matching or raised as an issue: ### >>> x=Symbol('x',dummy=True);b=Wild('b',exclude=[x]);(3*x).match(x/b) {b_: 3} ### I would have expected the result to be {b_:1/3}. So it appears that match() is only meant to work wit

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread asmeurer
Although it looks like rst2html and rst2html.py are both just alternatives-symlinked to rst2html-py26.py. I don't know if those symlinks are made in all docutils installs. Aaron Meurer On Jun 4, 12:40 pm, "Aaron S. Meurer" wrote: > On Jun 4, 2009, at 12:32 PM, Priit Laes wrote: > > > > > > > >

[sympy] Summation

2009-06-04 Thread cjkogan111
Does anyone know if there is support for latex summations. I looked at the LatexPrinter class and couldn't find any function that concerned summations. Thanks, -cjkogan111 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Aaron S. Meurer
On Jun 4, 2009, at 12:32 PM, Priit Laes wrote: > > Ühel kenal päeval, N, 2009-06-04 kell 13:20, kirjutas Alan Bromborsky: >> Gael Varoquaux wrote: >>> On Thu, Jun 04, 2009 at 09:13:52AM -0400, Alan Bromborsky wrote: >>> > When I enter "python setup.py build_sphinx" in the sympy > direct

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Priit Laes
Ühel kenal päeval, N, 2009-06-04 kell 13:20, kirjutas Alan Bromborsky: > Gael Varoquaux wrote: > > On Thu, Jun 04, 2009 at 09:13:52AM -0400, Alan Bromborsky wrote: > > > >>> When I enter "python setup.py build_sphinx" in the sympy directory I get > >>> "error: invalid command 'build_sphinx'" >

[sympy] Re: [sage-windows] Re: gtalk chat request

2009-06-04 Thread Ondrej Certik
On Thu, Jun 4, 2009 at 11:31 AM, Robert Kern wrote: > > On Thu, Jun 4, 2009 at 11:21, Ondrej Certik wrote: >> >> On Thu, Jun 4, 2009 at 9:42 AM, William Stein wrote: >>> >>> 2009/6/4 bill pines : I am wondering if matplotlib working on windows port of sage, examples? >>> >>> Yes.  Though I

[sympy] Re: [sage-windows] Re: gtalk chat request

2009-06-04 Thread Robert Kern
On Thu, Jun 4, 2009 at 11:21, Ondrej Certik wrote: > > On Thu, Jun 4, 2009 at 9:42 AM, William Stein wrote: >> >> 2009/6/4 bill pines : >>> I am wondering if matplotlib working on windows port of sage, examples? >> >> Yes.  Though I think we currently build it with no GUI backends, so >> you can

[sympy] Re: sympification question

2009-06-04 Thread Ondrej Certik
On Thu, Jun 4, 2009 at 10:31 AM, smichr wrote: > > I happened across the following unexpected result from sympification > of an expression: > x=Symbol('x',dummy=True) diff(sympify('x**(1/2)'),x) > 0 x=Symbol('x') diff(sympify('x**(1/2)'),x) > 1/(2*x**(1/2)) It's because if yo

[sympy] sympification question

2009-06-04 Thread smichr
I happened across the following unexpected result from sympification of an expression: >>> x=Symbol('x',dummy=True) >>> diff(sympify('x**(1/2)'),x) 0 >>> x=Symbol('x') >>> diff(sympify('x**(1/2)'),x) 1/(2*x**(1/2)) Is this an issue that two different results are obtained when differentiating the

[sympy] Re: [sage-windows] Re: gtalk chat request

2009-06-04 Thread Ondrej Certik
On Thu, Jun 4, 2009 at 9:42 AM, William Stein wrote: > > 2009/6/4 bill pines : >> I am wondering if matplotlib working on windows port of sage, examples? > > Yes.  Though I think we currently build it with no GUI backends, so > you can create plots, but you can only render them to PNG's.  (You us

[sympy] Re: [sage-windows] Re: gtalk chat request

2009-06-04 Thread William Stein
2009/6/4 bill pines : > I am wondering if matplotlib working on windows port of sage, examples? Yes. Though I think we currently build it with no GUI backends, so you can create plots, but you can only render them to PNG's. (You use savefig, I think.) It would be nice for a windows guru to fi

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Gael Varoquaux
On Thu, Jun 04, 2009 at 09:13:52AM -0400, Alan Bromborsky wrote: > > When I enter "python setup.py build_sphinx" in the sympy directory I get > > "error: invalid command 'build_sphinx'" Sorry, my mistake. You need to use 'python setupegg.py build_sphinx'. Gaël --~--~-~--~~-

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Alan Bromborsky
Alan Bromborsky wrote: > Ondrej Certik wrote: > >> On Thu, Jun 4, 2009 at 5:35 AM, Gael Varoquaux >> wrote: >> >> >>> On Thu, Jun 04, 2009 at 01:34:54PM +0200, Gael Varoquaux wrote: >>> >>> On Thu, Jun 04, 2009 at 07:20:40AM -0400, Alan Bromborsky wrote: >>

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Alan Bromborsky
Ondrej Certik wrote: > On Thu, Jun 4, 2009 at 5:35 AM, Gael Varoquaux > wrote: > >> On Thu, Jun 04, 2009 at 01:34:54PM +0200, Gael Varoquaux wrote: >> >>> On Thu, Jun 04, 2009 at 07:20:40AM -0400, Alan Bromborsky wrote: >>> Comment: In order to make the build process more inde

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Ondrej Certik
On Thu, Jun 4, 2009 at 5:35 AM, Gael Varoquaux wrote: > > On Thu, Jun 04, 2009 at 01:34:54PM +0200, Gael Varoquaux wrote: >> On Thu, Jun 04, 2009 at 07:20:40AM -0400, Alan Bromborsky wrote: >> > Comment: In order to make the build process more independent of the OS the >> > Makefile should be re

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Gael Varoquaux
On Thu, Jun 04, 2009 at 01:34:54PM +0200, Gael Varoquaux wrote: > On Thu, Jun 04, 2009 at 07:20:40AM -0400, Alan Bromborsky wrote: > > Comment: In order to make the build process more independent of the OS the > > Makefile should be replaced with a python script. This would allow one to > > get

[sympy] Re: Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Gael Varoquaux
On Thu, Jun 04, 2009 at 07:20:40AM -0400, Alan Bromborsky wrote: > Comment: In order to make the build process more independent of the OS the > Makefile should be replaced with a python script. This would allow one to get > rid of the need for the unix utilities on windows systems and the proble

[sympy] Building sympy docs on Windows - Corrections and Comment

2009-06-04 Thread Alan Bromborsky
How to build sympy documentation on Windows XP: 1. Go to "http://sourceforge.net/project/showfiles.php?group_id=9328&package_id=9393&release_id=490307"; and download UnxUtils.zip 2. Extract UnxUtils.zip (I put the extracted directory in C:\). 3. Add "C:\UnxUtils\usr\local\wbin" to PATH 4. G