Re: Issue 3223 in sympy: degree((x+1)**10000) takes too long

2013-02-15 Thread sympy
Comment #8 on issue 3223 by gupta.ha...@gmail.com: degree((x+1)**1) takes too long http://code.google.com/p/sympy/issues/detail?id=3223 I wanted to ask how can I identify the symbol used in the expression. Like in (x+1)**1 x is the symbol used. But now I have got it. eq=(x+1)**1

Re: Issue 3221 in sympy: Matrix.charpoly() should include minus sign for odd order matrices

2013-02-15 Thread sympy
Comment #2 on issue 3221 by asmeu...@gmail.com: Matrix.charpoly() should include minus sign for odd order matrices http://code.google.com/p/sympy/issues/detail?id=3221 Probably we should just check if the leading coefficient of x**n in det() and multiply through by -1 if it isn't already -1

Re: Issue 3221 in sympy: Matrix.charpoly() should include minus sign for odd order matrices

2013-02-15 Thread sympy
Comment #1 on issue 3221 by mary.spr...@gmail.com: Matrix.charpoly() should include minus sign for odd order matrices http://code.google.com/p/sympy/issues/detail?id=3221 From what I can see, the only method for calculating the characteristic polynomial is the Berkowitz algorithm, which sta

Issue 3649 in sympy: integrate(x**x*log(x)) gives 0

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Integration WrongResult New issue 3649 by asmeu...@gmail.com: integrate(x**x*log(x)) gives 0 http://code.google.com/p/sympy/issues/detail?id=3649 In [3]: integrate(x**x*log(x)) Out[3]: 0 I think the problem is in the meijerg algorith

Re: Issue 3223 in sympy: degree((x+1)**10000) takes too long

2013-02-15 Thread sympy
Comment #7 on issue 3223 by asmeu...@gmail.com: degree((x+1)**1) takes too long http://code.google.com/p/sympy/issues/detail?id=3223 Could you be more specific? I'm not clear what you mean. -- You received this message because this project is configured to send all issue notifications

Re: Issue 3610 in sympy: Solve fails to find all roots.

2013-02-15 Thread sympy
Updates: Status: Fixed Comment #5 on issue 3610 by asmeu...@gmail.com: Solve fails to find all roots. http://code.google.com/p/sympy/issues/detail?id=3610 That was merged. -- You received this message because this project is configured to send all issue notifications to this addres

Re: Issue 1941 in sympy: Objects that know how to combine themselves

2013-02-15 Thread sympy
Comment #16 on issue 1941 by asmeu...@gmail.com: Objects that know how to combine themselves http://code.google.com/p/sympy/issues/detail?id=1941 It just occured to me that this same kind of idea could be applied to the printer. For example, at https://github.com/sympy/sympy/pull/1788, we

Re: Issue 3647 in sympy: Require explicit assumptions when integrating.

2013-02-15 Thread sympy
Comment #3 on issue 3647 by julien.r...@gmail.com: Require explicit assumptions when integrating. http://code.google.com/p/sympy/issues/detail?id=3647 See https://github.com/sympy/sympy/pull/1622 for my attempt at fixing some of these. -- You received this message because this project is

Re: Issue 3644 in sympy: use of random should not modify the global random state

2013-02-15 Thread sympy
Comment #1 on issue 3644 by asmeu...@gmail.com: use of random should not modify the global random state http://code.google.com/p/sympy/issues/detail?id=3644 The issue is not just modifying global state, but also being affected by global state. So even if it doesn't set the seed, it can be a

Re: Issue 3647 in sympy: Require explicit assumptions when integrating.

2013-02-15 Thread sympy
Updates: Labels: Assumptions Comment #2 on issue 3647 by asmeu...@gmail.com: Require explicit assumptions when integrating. http://code.google.com/p/sympy/issues/detail?id=3647 By the way, there's some discussion of this in the source code for the risch algorithm (which is what shou

Re: Issue 3647 in sympy: Require explicit assumptions when integrating.

2013-02-15 Thread sympy
Comment #1 on issue 3647 by asmeu...@gmail.com: Require explicit assumptions when integrating. http://code.google.com/p/sympy/issues/detail?id=3647 Hopefully this won't break code that uses integrate (like stats or ode). If so, we might need to wait until we have better assumptions, and pos

Re: Issue 3643 in sympy: NumberSymbol in Singleton

2013-02-15 Thread sympy
Updates: Status: Started Comment #3 on issue 3643 by asmeu...@gmail.com: NumberSymbol in Singleton http://code.google.com/p/sympy/issues/detail?id=3643 https://github.com/sympy/sympy/pull/1791 -- You received this message because this project is configured to send all issue notificati

Re: Issue 3223 in sympy: degree((x+1)**10000) takes too long

2013-02-15 Thread sympy
Comment #6 on issue 3223 by gupta.ha...@gmail.com: degree((x+1)**1) takes too long http://code.google.com/p/sympy/issues/detail?id=3223 Hi, I'm trying to fix this issue. Please tell how can we identify the symbol used in the parameter passed to the function. -- You received this messa

Re: Issue 3645 in sympy: All solutions of x**y = 1

2013-02-15 Thread sympy
Updates: Status: Started Owner: julien.r...@gmail.com Labels: Solvers Comment #1 on issue 3645 by julien.r...@gmail.com: All solutions of x**y = 1 http://code.google.com/p/sympy/issues/detail?id=3645 https://github.com/sympy/sympy/pull/1790 -- You received this message b

Re: Issue 3648 in sympy: Define integral of Piecewise problem.

2013-02-15 Thread sympy
Updates: Status: Started Labels: NeedsReview Comment #1 on issue 3648 by julien.r...@gmail.com: Define integral of Piecewise problem. http://code.google.com/p/sympy/issues/detail?id=3648 https://github.com/sympy/sympy/pull/1789 -- You received this message because this projec

Re: Issue 3260 in sympy: Power of Integral should pretty print with parentheses

2013-02-15 Thread sympy
Updates: Status: Started Owner: julien.r...@gmail.com Labels: NeedsReview Comment #1 on issue 3260 by julien.r...@gmail.com: Power of Integral should pretty print with parentheses http://code.google.com/p/sympy/issues/detail?id=3260 https://github.com/sympy/sympy/pull/

Issue 3648 in sympy: Define integral of Piecewise problem.

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium WrongResult New issue 3648 by julien.r...@gmail.com: Define integral of Piecewise problem. http://code.google.com/p/sympy/issues/detail?id=3648 When Piecewise is a multivariate function of x and y, with conditions on y, and it is

Issue 3647 in sympy: Require explicit assumptions when integrating.

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Integration New issue 3647 by julien.r...@gmail.com: Require explicit assumptions when integrating. http://code.google.com/p/sympy/issues/detail?id=3647 Below, the integration code basically assumes n != 0 and y != 1. from sympy

Issue 3646 in sympy: Weird solution of x**y = 0

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Solvers New issue 3646 by julien.r...@gmail.com: Weird solution of x**y = 0 http://code.google.com/p/sympy/issues/detail?id=3646 from sympy import solve from sympy.abc import n, x, y solve(x**y) [{x: 0**(1/y)}] It's weird that it r

Issue 3645 in sympy: All solutions of x**y = 1

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium New issue 3645 by julien.r...@gmail.com: All solutions of x**y = 1 http://code.google.com/p/sympy/issues/detail?id=3645 solve(x**y - 1) does not return all solutions: it should return [{x: 1}, {y: 0}], but it stops looking for solut

Issue 3644 in sympy: use of random should not modify the global random state

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium New issue 3644 by smi...@gmail.com: use of random should not modify the global random state http://code.google.com/p/sympy/issues/detail?id=3644 There is discussion of this at https://github.com/sympy/sympy/pull/1785 Basically, al

Re: Issue 3642 in sympy: rename __name__ string for singletons

2013-02-15 Thread sympy
Comment #4 on issue 3642 by asmeu...@gmail.com: rename __name__ string for singletons http://code.google.com/p/sympy/issues/detail?id=3642 I would avoid string processing, though. -- You received this message because this project is configured to send all issue notifications to this addres

Re: Issue 3642 in sympy: rename __name__ string for singletons

2013-02-15 Thread sympy
Comment #3 on issue 3642 by asmeu...@gmail.com: rename __name__ string for singletons http://code.google.com/p/sympy/issues/detail?id=3642 So just add all the Singleton classes to your namespace. -- You received this message because this project is configured to send all issue notification

Re: Issue 3642 in sympy: rename __name__ string for singletons

2013-02-15 Thread sympy
Comment #2 on issue 3642 by smi...@gmail.com: rename __name__ string for singletons http://code.google.com/p/sympy/issues/detail?id=3642 I am working on structural matching and making a list of the object classes. Rather than get this fp(x+1, string=False) [, [[, []], [ 'sympy.core.sym

Re: Issue 3643 in sympy: NumberSymbol in Singleton

2013-02-15 Thread sympy
Comment #2 on issue 3643 by ronan.l...@gmail.com: NumberSymbol in Singleton http://code.google.com/p/sympy/issues/detail?id=3643 I guess I simply forgot to remove it back when I refactored Singleton. I don't think there's any good reason for it to be there. -- You received this message becau

Re: Issue 3643 in sympy: NumberSymbol in Singleton

2013-02-15 Thread sympy
Comment #1 on issue 3643 by asmeu...@gmail.com: NumberSymbol in Singleton http://code.google.com/p/sympy/issues/detail?id=3643 If I remove it, all core tests pass. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust

Issue 3643 in sympy: NumberSymbol in Singleton

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Core New issue 3643 by asmeu...@gmail.com: NumberSymbol in Singleton http://code.google.com/p/sympy/issues/detail?id=3643 Is there a reason NumberSymbol has Singleton as a metaclass? It adds S.NumberSymbol, which isn't very useful.

Re: Issue 3642 in sympy: rename __name__ string for singletons

2013-02-15 Thread sympy
Comment #1 on issue 3642 by asmeu...@gmail.com: rename __name__ string for singletons http://code.google.com/p/sympy/issues/detail?id=3642 If S.One.func.__name__ was "S.One" instead of "One" it would roundtrip through sympify. S.One.func is not the same as S.One (one is a class and the ot

Issue 3642 in sympy: rename __name__ string for singletons

2013-02-15 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Low New issue 3642 by smi...@gmail.com: rename __name__ string for singletons http://code.google.com/p/sympy/issues/detail?id=3642 S((1+x).func.__name__) S(S.One.func.__name__) One S('S.One') 1 S('One') One If S.One.func.__name__ w