Issue 1889 in sympy: sympify gives an error when a symbol 'C' is used together with a local dictionary

2010-04-07 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1889 by chr.schu...@gmx.de: sympify gives an error when a symbol 'C' is used together with a local dictionary http://code.google.com/p/sympy/issues/detail?id=1889 Hi, I keep on getting errors when I try to sympify 'C*2' us

Re: Issue 966 in sympy: Can't simplify exp(2 * pi * I * a) when a is integer

2010-04-07 Thread sympy
Comment #63 on issue 966 by smichr: Can't simplify exp(2 * pi * I * a) when a is integer http://code.google.com/p/sympy/issues/detail?id=966 I had forgotten that this was even in the queue for review. I wish I had kept it as part of my 1766 branch. Now I can't apply it to that branch with o

Re: Issue 1889 in sympy: sympify gives an error when a symbol 'C' is used together with a local dictionary

2010-04-07 Thread sympy
Comment #1 on issue 1889 by smichr: sympify gives an error when a symbol 'C' is used together with a local dictionary http://code.google.com/p/sympy/issues/detail?id=1889 The single letters in "COSINEQ" are classes in sympy. Although I would have expected your defining of vars['C'] to have

Re: Issue 1376 in sympy: sympy.sum overrides built-in sum with a different call syntax

2010-04-07 Thread sympy
Updates: Status: Started Owner: mattpap Labels: NeedsReview Comment #5 on issue 1376 by mattpap: sympy.sum overrides built-in sum with a different call syntax http://code.google.com/p/sympy/issues/detail?id=1376 As I work with built-in sum() a lot when developing sympy

Re: Issue 51 in sympy: RootOf for polynomial equations

2010-04-07 Thread sympy
Comment #16 on issue 51 by mattpap: RootOf for polynomial equations http://code.google.com/p/sympy/issues/detail?id=51 I removed RootsOf and improved RootSum (polys8), e.g.: In [1]: RootSum((x - 7)*(x**2 - 2)**2*(x**3 + x + 3)**5, Lambda(x, abs(x))) Out[1]: ⎛ 3 ⎞

Re: Issue 1881 in sympy: solve -> OverflowError: mpz too large for int

2010-04-07 Thread sympy
Comment #2 on issue 1881 by mattpap: solve -> OverflowError: mpz too large for int http://code.google.com/p/sympy/issues/detail?id=1881 This is all interesting, as I can't reproduce the OverflowError. On my 1.7 GHz Centrino laptop factorization of numerator of 'f' takes less than 3s with g

Re: Issue 1889 in sympy: sympify gives an error when a symbol 'C' is used together with a local dictionary

2010-04-07 Thread sympy
Comment #2 on issue 1889 by asmeurer: sympify gives an error when a symbol 'C' is used together with a local dictionary http://code.google.com/p/sympy/issues/detail?id=1889 You can override it the normal way: In [6]: C = Symbol('C') In [8]: C*2 Out[8]: 2⋅C Should we fix this to return a Sy

Issue 1890 in sympy: Quartic equation solution probably not correct

2010-04-07 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1890 by bslade...@razdva.cz: Quartic equation solution probably not correct http://code.google.com/p/sympy/issues/detail?id=1890 This equation: x = Symbol('x', positive=True) jdU = Symbol('jdU', positive=True) EQN2 = 1 +

Re: Issue 51 in sympy: RootOf for polynomial equations

2010-04-07 Thread sympy
Comment #17 on issue 51 by asmeurer: RootOf for polynomial equations http://code.google.com/p/sympy/issues/detail?id=51 So what is the replacement of RootsOf? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may

Re: Issue 51 in sympy: RootOf for polynomial equations

2010-04-07 Thread sympy
Comment #18 on issue 51 by mattpap: RootOf for polynomial equations http://code.google.com/p/sympy/issues/detail?id=51 thx, but too bad, doesn't solve my problem, yet. See my comment in issue 1881. The problem you showed here is similar (although not exactly the same) to problem in that is

Re: Issue 51 in sympy: RootOf for polynomial equations

2010-04-07 Thread sympy
Comment #19 on issue 51 by mattpap: RootOf for polynomial equations http://code.google.com/p/sympy/issues/detail?id=51 So what is the replacement of RootsOf? For now [ RootOf(f, i) for i in xrange(0, degree(f)) ]. Later I will add RootOf support to roots(), but for this I need to improve Ro

Re: Issue 1887 in sympy: Relational should subclass Boolean, not Expr

2010-04-07 Thread sympy
Comment #1 on issue 1887 by asmeurer: Relational should subclass Boolean, not Expr http://code.google.com/p/sympy/issues/detail?id=1887 I guess it should be a Boolean in order to do things like x > y => Assume(x - y, Q.positive). Also, I think just about all Expr methods on a relational s

Re: Issue 1881 in sympy: solve -> OverflowError: mpz too large for int

2010-04-07 Thread sympy
Comment #3 on issue 1881 by notmyadd...@teewars.org: solve -> OverflowError: mpz too large for int http://code.google.com/p/sympy/issues/detail?id=1881 print K0 shows: QQ print f shows: [mpq(-216010546875L)], [], [], [], [], [], [], [], []]], [[[]]], [[[]]], [[[]]], [[[]]], [[[

Re: Issue 51 in sympy: RootOf for polynomial equations

2010-04-07 Thread sympy
Comment #20 on issue 51 by notmyadd...@teewars.org: RootOf for polynomial equations http://code.google.com/p/sympy/issues/detail?id=51 thx, but too bad, doesn't solve my problem, yet. See my comment in issue 1881. The problem you showed here is similar (although not exactly the same) to

Re: Issue 1376 in sympy: sympy.sum overrides built-in sum with a different call syntax

2010-04-07 Thread sympy
Comment #6 on issue 1376 by ronan.l...@gmail.com: sympy.sum overrides built-in sum with a different call syntax http://code.google.com/p/sympy/issues/detail?id=1376 -1. I don't think it's a good idea to glue together two functions with different semantics and interface. It would be much cle

Re: Issue 966 in sympy: Can't simplify exp(2 * pi * I * a) when a is integer

2010-04-07 Thread sympy
Comment #64 on issue 966 by Vinzent.Steinberg: Can't simplify exp(2 * pi * I * a) when a is integer http://code.google.com/p/sympy/issues/detail?id=966 No problem. BTW, if you want to get 1766 review faster, it would be great if you could provide a stable 1766 branch, without failing tests