Re: Issue 3818 in sympy: Undefined name _clear in sympify.py

2013-05-12 Thread sympy
Updates: Labels: NeedsReview smichr Comment #1 on issue 3818 by smi...@gmail.com: Undefined name _clear in sympify.py http://code.google.com/p/sympy/issues/detail?id=3818 https://github.com/sympy/sympy/pull/2098 -- You received this message because this project is configured to send

Re: Issue 3128 in sympy: Sum and Product manipulations

2013-05-12 Thread sympy
Comment #11 on issue 3128 by thilina@gmail.com: Sum and Product manipulations http://code.google.com/p/sympy/issues/detail?id=3128 Thanks Aaron. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your

Issue 3819 in sympy: trigsimp gives bad results for non-commutative symbols

2013-05-12 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium New issue 3819 by abro...@verizon.net: trigsimp gives bad results for non-commutative symbols http://code.google.com/p/sympy/issues/detail?id=3819 Consider the following code - from sympy import symbols, trigsimp, sin, cos

Re: Issue 3434 in sympy: warning when starting isympy

2013-05-12 Thread sympy
Comment #12 on issue 3434 by hacm...@gmail.com: warning when starting isympy http://code.google.com/p/sympy/issues/detail?id=3434 The issue, as pointed out before, is that sympy/__init__.py imports sympy.plotting, which in turn imports matplotlib.pyplot. isympy imports functionality from

Re: Issue 3815 in sympy: Factors should not divide out zeros

2013-05-12 Thread sympy
Comment #2 on issue 3815 by smi...@gmail.com: Factors should not divide out zeros http://code.google.com/p/sympy/issues/detail?id=3815 The convention is that Factors(1) - Factors(). -- You received this message because this project is configured to send all issue notifications to this

Re: Issue 3434 in sympy: warning when starting isympy

2013-05-12 Thread sympy
Comment #13 on issue 3434 by asmeu...@gmail.com: warning when starting isympy http://code.google.com/p/sympy/issues/detail?id=3434 2 is the correct solution. See the blocking issue. -- You received this message because this project is configured to send all issue notifications to this

Re: Issue 3819 in sympy: trigsimp gives bad results for non-commutative symbols

2013-05-12 Thread sympy
Updates: Labels: Simplify WrongResult Comment #1 on issue 3819 by asmeu...@gmail.com: trigsimp gives bad results for non-commutative symbols http://code.google.com/p/sympy/issues/detail?id=3819 (No comment was entered for this change.) -- You received this message because this

Re: Issue 3816 in sympy: bracelets() is untested

2013-05-12 Thread sympy
Comment #1 on issue 3816 by smi...@gmail.com: bracelets() is untested http://code.google.com/p/sympy/issues/detail?id=3816 bracelets is a pure wrapper that only calls necklaces with the free=True parameter. That parameter is tested in tests for necklaces with true and false values. I guess

Re: Issue 3808 in sympy: Calling .evalf() on indefinite integral throws an exception

2013-05-12 Thread sympy
Updates: Status: Fixed Comment #2 on issue 3808 by smi...@gmail.com: Calling .evalf() on indefinite integral throws an exception http://code.google.com/p/sympy/issues/detail?id=3808 (No comment was entered for this change.) -- You received this message because this project is

Re: Issue 3820 in sympy: Let factorint() act as an iterator

2013-05-12 Thread sympy
Comment #1 on issue 3820 by smi...@gmail.com: Let factorint() act as an iterator http://code.google.com/p/sympy/issues/detail?id=3820 (And don't forget to use isprime, and the equivalent for polys, if you just want to know if there is no factor.) -- You received this message because this

Re: Issue 3820 in sympy: Let factorint() act as an iterator

2013-05-12 Thread sympy
Comment #2 on issue 3820 by asmeu...@gmail.com: Let factorint() act as an iterator http://code.google.com/p/sympy/issues/detail?id=3820 Actually, there currently is no equivalent. Poly.is_irreducible just calls factor. -- You received this message because this project is configured to

Re: Issue 3816 in sympy: bracelets() is untested

2013-05-12 Thread sympy
Comment #2 on issue 3816 by asmeu...@gmail.com: bracelets() is untested http://code.google.com/p/sympy/issues/detail?id=3816 I opened the issue when I removed the unused import from the test file from pyflakes. I didn't realize it was just a wrapper. -- You received this message because

Issue 3821 in sympy: trigsimp does not simplify `cosh(z) - sinh(z)`

2013-05-12 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Simplify New issue 3821 by 16sn...@gmail.com: trigsimp does not simplify `cosh(z) - sinh(z)` http://code.google.com/p/sympy/issues/detail?id=3821 There are 4 expressions in this family which should be simplified to an

Re: Issue 3819 in sympy: trigsimp gives bad results for non-commutative symbols

2013-05-12 Thread sympy
Comment #2 on issue 3819 by smi...@gmail.com: trigsimp gives bad results for non-commutative symbols http://code.google.com/p/sympy/issues/detail?id=3819 Haven't figured it out but to give a simpler failing expression: A is noncommutative trigsimp(-sin(th)**2*A - sin(2*th)*A/2)

Re: Issue 3819 in sympy: trigsimp gives bad results for non-commutative symbols

2013-05-12 Thread sympy
Comment #3 on issue 3819 by smi...@gmail.com: trigsimp gives bad results for non-commutative symbols http://code.google.com/p/sympy/issues/detail?id=3819 I put a debug statement in strategies debug function and nothing in the trigsimp sequence generates an error -- all the Trues are

Re: [sympy] Re: SymPy Bot reviews site

2013-05-12 Thread Aaron Meurer
OK, just to be perfectly precise, you need to include the http://, so something like ./sympy-bot review 2094 -s http://sympy-reviews.appspot.com Aaron Meurer On Sat, May 11, 2013 at 8:01 PM, Aaron Meurer asmeu...@gmail.com wrote: I am still waiting for Ondrej to move over the domain, but for

[sympy] Re: Convert sympy to javascript

2013-05-12 Thread dennis
Hi James I did succeed in converting sympy to javascript. I ended up having some of the sympy core converted and loaded in the browser without syntax errors, but it did not work properly. On Friday, May 10, 2013 11:05:51 AM UTC+2, James wrote: Hi Dennis Sorry to revive an old thread, but I

Re: [sympy] ipython notebook: no latex/mathjax available on remote notebook server

2013-05-12 Thread Aaron Meurer
Can you see if it works in the branch from https://github.com/sympy/sympy/pull/2045? Aaron Meurer On Sun, May 12, 2013 at 1:37 PM, Neal Holtz nmho...@gmail.com wrote: Hello The following behaves differently when run on a remote ipython notebook server than it does on a local server.

Re: [sympy] ipython notebook: no latex/mathjax available on remote notebook server

2013-05-12 Thread Neal Holtz
Yes, that seems to have fixed it. Thanks very much. neal On Sunday, May 12, 2013 3:48:18 PM UTC-4, Aaron Meurer wrote: Can you see if it works in the branch from https://github.com/sympy/sympy/pull/2045? Aaron Meurer On Sun, May 12, 2013 at 1:37 PM, Neal Holtz

Re: [sympy] sympy findroot trouble

2013-05-12 Thread Aaron Meurer
plot_implicit also has issues at that point (see attached file). There is some kind of singularity there. [image: Inline image 1] Aaron Meurer On Tue, Apr 30, 2013 at 3:29 AM, Stefan Krastanov krastanov.ste...@gmail.com wrote: Probably your tolerance is too high. In any case, this is

Re: [sympy] Level 3 of ploys module.

2013-05-12 Thread Aaron Meurer
The highest level is the user interface (i.e., Poly and its methods). I don't remember if that is level 2 or level 3. Aaron Meurer On Tue, Apr 30, 2013 at 11:02 AM, Saurabh Jha saurabh.j...@gmail.comwrote: Hi, I have understood that L0 of polys is implementation of functions in pure

Re: [sympy] bivariate polynomials

2013-05-12 Thread Aaron Meurer
Are you asking how to implement the algorithm to check for such generators or how to fix Poly to work with such things? Aaron Meurer On Wed, Apr 24, 2013 at 9:40 AM, smichr smi...@gmail.com wrote: In my bisolve branch I have experimented with recognizing bivariate generators of polynomials.

Re: [sympy] Custom Printing

2013-05-12 Thread Aaron Meurer
You need to override __repr__. Due to a long standing Python bug (bug in quotes because no one intends to ever fix it), str(list) calls repr() on the elements instead of str(). Aaron Meurer On Thu, Apr 25, 2013 at 6:03 PM, Alan Bromborsky abro...@verizon.netwrote: I have defined a new string

Re: [sympy] bivariate polynomials

2013-05-12 Thread Chris Smith
How to recognize such things. -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to

Re: [sympy] To wrap or to derive

2013-05-12 Thread Aaron Meurer
(sorry for just now replying. I am catching up on emails) Usually when you subclass from Expr, you define __new__, since it's very common for subclasses constructors to return a different class (e.g., Add(x, x) returns Mul(2, x), an instance of Mul). The best way to see how to do this is to look

Re: [sympy] bivariate polynomials

2013-05-12 Thread Aaron Meurer
In each case, the monomials in x and y from the powers of u are unique. For example, for u = a*x*y + y (btw should it really be a*x*y + b*y?), u has the monomials x*y and y, u**2 has the monomials x**2*y**2, x*y**2, and y**2, and so on. So all you need to do is pull together the various monomials

Re: [sympy] bivariate polynomials

2013-05-12 Thread Aaron Meurer
I wonder if there is a general algorithm for multivariate polynomial decomposition. That would make your life a lot easier. We already have one for the univariate case (decompose()). You might check the literature. Aaron Meurer On Sun, May 12, 2013 at 10:15 PM, Aaron Meurer asmeu...@gmail.com