Issue 3885 in sympy: nullary functions should be allowed

2013-06-12 Thread sympy
Status: Valid Owner: Labels: Type-Enhancement Priority-Medium New issue 3885 by asmeu...@gmail.com: nullary functions should be allowed http://code.google.com/p/sympy/issues/detail?id=3885 In [34]: f() --- ValueError

Re: Issue 3876 in sympy: latex inconsistent with parentheses in powers

2013-06-12 Thread sympy
Comment #3 on issue 3876 by asmeu...@gmail.com: latex inconsistent with parentheses in powers http://code.google.com/p/sympy/issues/detail?id=3876 By two printers, I mean the two pretty printers. str is another story. I feel that x**(y**z) is a little easier to read than x**y**z, but I don'

Re: Issue 2695 in sympy: Pretty print of -x/y

2013-06-12 Thread sympy
Comment #3 on issue 2695 by asmeu...@gmail.com: Pretty print of -x/y http://code.google.com/p/sympy/issues/detail?id=2695 I don't have time to go into detail, but we have a guide at https://github.com/sympy/sympy/wiki/development-workflow. GitHub also has guides. If you need more help, just

Re: Issue 3812 in sympy: simplify() is wrong

2013-06-12 Thread sympy
Comment #3 on issue 3812 by supp...@mooncoder.com: simplify() is wrong http://code.google.com/p/sympy/issues/detail?id=3812 Very annoying, silently gives wrong results... simplify_logic("Implies(a,b)") returns False too. I found a workaround: first call eliminate_implications() or convert

Re: Issue 2695 in sympy: Pretty print of -x/y

2013-06-12 Thread sympy
Comment #2 on issue 2695 by eric.the...@gmail.com: Pretty print of -x/y http://code.google.com/p/sympy/issues/detail?id=2695 I may have a solution for this, to implement the first option (same width fraction, but center slightly to the right instead of the default of slightly to the left). I

Re: Issue 3812 in sympy: simplify() is wrong

2013-06-12 Thread sympy
Comment #2 on issue 3812 by supp...@mooncoder.com: simplify() is wrong http://code.google.com/p/sympy/issues/detail?id=3812 Very annoying. simplify_logic("Implies(a,b)") returns False too. I found a workaround to first convert to_cnf() and then simplify. -- You received this message becaus

Re: Issue 3884 in sympy: Polygon should raise an error if sides cross

2013-06-12 Thread sympy
Comment #1 on issue 3884 by smi...@gmail.com: Polygon should raise an error if sides cross http://code.google.com/p/sympy/issues/detail?id=3884 the issue has to do with removal of collinear points; the first should be Triangle((0,0),(3,2),(4,2)) and the second Segment((0,0),(1,0)) -- You

Re: Issue 3858 in sympy: Calling subs() on a logical function sometimes returns "bool" type and sometimes "sympy.core.numbers.Zero/One" type

2013-06-12 Thread sympy
Updates: Status: Fixed Comment #6 on issue 3858 by smi...@gmail.com: Calling subs() on a logical function sometimes returns "bool" type and sometimes "sympy.core.numbers.Zero/One" type http://code.google.com/p/sympy/issues/detail?id=3858 long issue has been fixed; simultaneous=True

Re: Issue 2014 in sympy: use ordered_iter or iterable instead of checking for literal container

2013-06-12 Thread sympy
Comment #19 on issue 2014 by torstenm...@gmail.com: use ordered_iter or iterable instead of checking for literal container http://code.google.com/p/sympy/issues/detail?id=2014 Right, over 70. Shall I fix them in the way described? BTW, iter_ordered now seems to be called is_sequence. But

Re: Issue 3882 in sympy: divisors() is not type-consistent

2013-06-12 Thread sympy
Comment #4 on issue 3882 by smi...@gmail.com: divisors() is not type-consistent http://code.google.com/p/sympy/issues/detail?id=3882 this might be the way to go, then: n = int(abs(n)) if isprime(n): rv = [1, n] elif n == 1: rv = [1] elif n == 0: rv = [

3 issues changed in sympy

2013-06-12 Thread sympy
Updates: Status: Started Owner: julien.r...@gmail.com Labels: NeedsReview Comment by julien.r...@gmail.com: https://github.com/sympy/sympy/pull/2167 Affected issues: issue 3740: Don't use \times in latex http://code.google.com/p/sympy/issues/detail?id=3740 issue

Re: Issue 3882 in sympy: divisors() is not type-consistent

2013-06-12 Thread sympy
Comment #3 on issue 3882 by asmeu...@gmail.com: divisors() is not type-consistent http://code.google.com/p/sympy/issues/detail?id=3882 Internally it can use ints if they are faster. Only the return value needs to be changed. -- You received this message because this project is configured

Re: Issue 3876 in sympy: latex inconsistent with parentheses in powers

2013-06-12 Thread sympy
Comment #2 on issue 3876 by asmeu...@gmail.com: latex inconsistent with parentheses in powers http://code.google.com/p/sympy/issues/detail?id=3876 I don't feel strongly that it should be either way, but the two printers should be consistent. -- You received this message because this proje

Re: Issue 3882 in sympy: divisors() is not type-consistent

2013-06-12 Thread sympy
Comment #2 on issue 3882 by smi...@gmail.com: divisors() is not type-consistent http://code.google.com/p/sympy/issues/detail?id=3882 The simplest thing to do would be to have it work in ints like factorint n = int(abs(n)) Working with Integer instead of int can significantly slow down some

Re: Issue 3883 in sympy: powdenest should not do too much

2013-06-12 Thread sympy
Comment #1 on issue 3883 by smi...@gmail.com: powdenest should not do too much http://code.google.com/p/sympy/issues/detail?id=3883 Yes...this is a problem with many simplify functions as Matt Rocklin has pointed out. -- You received this message because this project is configured to send

Re: Issue 3876 in sympy: latex inconsistent with parentheses in powers

2013-06-12 Thread sympy
Comment #1 on issue 3876 by julien.r...@gmail.com: latex inconsistent with parentheses in powers http://code.google.com/p/sympy/issues/detail?id=3876 Priority of exponents is from right to left (both for python and mathematics), thus e.g. for (4**x)**y the parentheses are needed but for 4

Re: Issue 2576 in sympy: latex(1/x**2) should return a \frac

2013-06-12 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview Comment #3 on issue 2576 by julien.r...@gmail.com: latex(1/x**2) should return a \frac http://code.google.com/p/sympy/issues/detail?id=2576 (No comment was entered for this change.) -- You received this message because this project