Issue 1253 in sympy: enhance the solver to handle inequalities (with abs())

2009-02-20 Thread codesite-noreply
Updates: Labels: Milestone-Release0.6.5 Comment #1 on issue 1253 by fabian.seoane: enhance the solver to handle inequalities (with abs()) http://code.google.com/p/sympy/issues/detail?id=1253 raising this to milestone 0.6.5. I believe this is important as the new assumption system

Issue 1052 in sympy: 2.0 * x**2 should print more nicely

2009-02-20 Thread codesite-noreply
Comment #24 on issue 1052 by williamhpurcell: 2.0 * x**2 should print more nicely http://code.google.com/p/sympy/issues/detail?id=1052 I just realized 'python test_evalf.py' does nothing. I expected something like 'if __name__ == __main__' to be in test_evalf.py, so that only that test

Issue 1052 in sympy: 2.0 * x**2 should print more nicely

2009-02-20 Thread codesite-noreply
Comment #25 on issue 1052 by ondrej.certik: 2.0 * x**2 should print more nicely http://code.google.com/p/sympy/issues/detail?id=1052 right. You can also run bin/test some/path, for more info, see: $ bin/test --help Usage: test [options] Options: -h, --help show this help message and

Re: Solve bug, abs(x**2) was simplifying always, but this is only true

2009-02-20 Thread Vinzent Steinberg
Ok, sorry. Maybe the first line should be complete? (This means probably not exceeding 80 characters.) Vinzent On Feb 19, 4:14 pm, Fabian Seoane fabian.seo...@gmail.com wrote: On Thu, Feb 19, 2009 at 11:19 AM, Vinzent Steinberg vinzent.steinb...@googlemail.com wrote: On 9 Feb., 21:35,

[sympy] Re: Set Algebra module.

2009-02-20 Thread Ondrej Certik
Hi Akshay! On Wed, Feb 18, 2009 at 7:13 PM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: Hello,        I'm trying to implement a Set Algebra module for sympy. I started coding a few days ago and it quickly became apparent that I have to write something completely parallel to the

[sympy] Re: Set Algebra module.

2009-02-20 Thread Akshay Srinivasan
On first glance, I felt like an idiot trying to implement something which is already present. But I had a closer look and, i) it doesn't seem to exist in the stable version of sympy - wiki tagged obsolete. ii) Doesn't do any simplifications. isn't that right ? If so , then I guess it'd be better

[sympy] Re: Set Algebra module.

2009-02-20 Thread Ondrej Certik
On Fri, Feb 20, 2009 at 12:30 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: On first glance, I felt like an idiot trying to implement something which is already present. But I had a closer look and, i) it doesn't seem to exist in the stable version of sympy - wiki tagged obsolete.

[sympy] Re: Printing Precision

2009-02-20 Thread William Purcell
A hack I'm going to use for now is changing the return in str.StrPrinter._print_Real to the following class StrPrinter ... ... def _print_Real(self, expr): prec = expr._prec if prec 5: dps = 0 else: dps = prec_to_dps(expr._prec)

[sympy] Re: Printing Precision

2009-02-20 Thread Ondrej Certik
On Fri, Feb 20, 2009 at 7:32 AM, William Purcell williamhpurc...@gmail.com wrote: A hack I'm going to use for now is changing the return in str.StrPrinter._print_Real to the following class StrPrinter ... ...   def _print_Real(self, expr):        prec = expr._prec        if prec 5:

[sympy] Re: Printing Precision

2009-02-20 Thread William Purcell
If you want, as an exercise, try to run all sympy tests with your patch to see if something gets broken. I ran the test_evalf test. (see Issue 1052http://code.google.com/p/sympy/issues/detail?id=1052). I will try running the other tests. Is there a 'top-level' script to do this? If not, try

[sympy] Re: Printing Precision

2009-02-20 Thread Ondrej Certik
On Fri, Feb 20, 2009 at 11:37 AM, William Purcell williamhpurc...@gmail.com wrote: If you want, as an exercise, try to run all sympy tests with your patch to see if something gets broken. I ran the test_evalf test. (see Issue 1052). I will try running the other tests. Is there a 'top-level'