[sympy] TeX output in IPython qt 0.11

2011-08-21 Thread hm70
I've seen at http://research.scios.ch/inet/doku.php?id=ipy_tex a screenshot showing simpy code output as inline PNG in the new IPython version (qt). Apparently the _repr_png_ method together with -- pylab=inline can be used to render any latex output on the fly. My question: is it feasible to provi

Re: [sympy] Simplifying cosine expressions (cos(pi*n)**2)

2011-08-21 Thread Tomo Lazovich
Hi again, I've submitted a pull request for this, adding the simplification to cos: https://github.com/sympy/sympy/pull/572 It should be fairly quick to review if there's no objections to it. Thanks! Tomo On Thu, Aug 18, 2011 at 6:58 PM, Aaron Meurer wrote: > Yes, we already have functions w

Re: [sympy] possible failure in master

2011-08-21 Thread Sean Vig
I get that exact result, linux python 2.7.2. Sean On Sun, Aug 21, 2011 at 16:50, smichr wrote: > lazovich reported a failure of > > ```python > >>> a,b,c = map(Symbol, 'abc') > >>> x,y = map(Wild, 'xy') > >>> (a+b*I).match(x+y*I) > {x_: I*b, y_: -I*a} > > Could someone test this? It doesn't fai

[sympy] possible failure in master

2011-08-21 Thread smichr
lazovich reported a failure of ```python >>> a,b,c = map(Symbol, 'abc') >>> x,y = map(Wild, 'xy') >>> (a+b*I).match(x+y*I) {x_: I*b, y_: -I*a} Could someone test this? It doesn't fail for me. w32 py27 -- You received this message because you are subscribed to the Google Groups "sympy" group. T

Re: [sympy] Test failures in master

2011-08-21 Thread Chris Smith
Just waiting for a review of https://github.com/sympy/sympy/pull/566 . If that pull works for you, let's get this in. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this

Re: [sympy] doctest testmod() globs keyword argument

2011-08-21 Thread Luke Peterson
If the file has the if statement in it (as below), then running python on the file (without -m doctest) *will* run the doctests, and you can easily control the execution context of the doctests by doing any required imports/setup in this if statement and passing handles to testmod via the globs

[sympy] Test failures in master

2011-08-21 Thread Tomo Lazovich
Hi everyone, I'm running Mac OS X 10.6.7 and Python 2.7 and I'm seeing the following failures in sympy master: ___ sympy/core/tests/test_arit.py:test_Add_primitive ___ File "/users/lazovich/sympy/sympy/core/tests/test_arit.py", line 1190, in test_Add_primitive assert

Re: [sympy] doctest testmod() globs keyword argument

2011-08-21 Thread Aaron Meurer
On Sun, Aug 21, 2011 at 12:32 PM, Luke wrote: > On Sun, Aug 21, 2011 at 10:42 AM, Aaron Meurer wrote: >> On Sat, Aug 20, 2011 at 7:34 PM, Luke wrote: >>> On Sat, Aug 20, 2011 at 3:37 PM, Aaron Meurer wrote: I don't know of any doctests in SymPy that do this.  Why can't you put imports

Re: [sympy] doctest testmod() globs keyword argument

2011-08-21 Thread Luke
On Sun, Aug 21, 2011 at 10:42 AM, Aaron Meurer wrote: > On Sat, Aug 20, 2011 at 7:34 PM, Luke wrote: >> On Sat, Aug 20, 2011 at 3:37 PM, Aaron Meurer wrote: >>> I don't know of any doctests in SymPy that do this.  Why can't you put >>> imports in each doctest?  I'd highly recommend it. >> >> The

Re: [sympy] Script to open a random issue

2011-08-21 Thread Aaron Meurer
On Tue, Aug 16, 2011 at 9:04 AM, Aaron Meurer wrote: > On Tue, Aug 16, 2011 at 8:15 AM, Vladimir Perić wrote: >> On Mon, Aug 15, 2011 at 10:57 PM, Aaron Meurer wrote: >>> On Mon, Aug 15, 2011 at 1:59 PM, Vladimir Perić >>> wrote: Actually, I was trying to clean up our issue list a few tim

Re: [sympy] coverage tool

2011-08-21 Thread Aaron Meurer
Perhaps we should update ./setup.py clean to clear this. By the way, git clean -Xdf will delete everything from .gitignore (run git clean -Xn first to see what it will delete). Aaron Meurer On Sat, Aug 20, 2011 at 9:45 PM, smichr wrote: > Just a heads up. I have been running into some problems

Re: [sympy] doctest testmod() globs keyword argument

2011-08-21 Thread Aaron Meurer
On Sat, Aug 20, 2011 at 7:34 PM, Luke wrote: > On Sat, Aug 20, 2011 at 3:37 PM, Aaron Meurer wrote: >> I don't know of any doctests in SymPy that do this.  Why can't you put >> imports in each doctest?  I'd highly recommend it. > > The reason for not wanting to do the imports is as follows.  We h