Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2008-10-17 Thread codesite-noreply
Issue 1168: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 New issue report by ondrej.certik: In [1]: A = Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]) In [2]: Ainv = A.inv("ADJ") In [3]: Ainv Out[3]: ⎡ -1 -x

Re: Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2012-02-24 Thread sympy
Updates: Status: Fixed Comment #7 on issue 1168 by smi...@gmail.com: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 regarding subs of oo: since -oo is a singleton, it is missed by the current logic of subs.

Re: Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2011-04-10 Thread sympy
Comment #2 on issue 1168 by sherjilo...@gmail.com: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 THis problem doesn't come up in my version of SymPy. I think this issue has been fixed and needs to be closed. --

Re: Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2011-04-11 Thread sympy
Comment #3 on issue 1168 by asmeurer: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 I get print Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inv().applyfunc(simplify) [ (oo)*x**4*

Re: Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2011-04-11 Thread sympy
Comment #4 on issue 1168 by sherjilo...@gmail.com: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 This is more of a simplify problem, than a matrices problem. The LU and GE methods aren't as symbolically stable as

Re: Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2011-04-11 Thread sympy
Comment #5 on issue 1168 by asmeurer: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 simplify() can slow things down quite a bit, so we do not call it by default, even in methods like rref() where the correctness c

Re: Issue 1168 in sympy: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result

2011-04-12 Thread sympy
Comment #6 on issue 1168 by sherjilo...@gmail.com: Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]]).inf() gives wrong result http://code.google.com/p/sympy/issues/detail?id=1168 subs(oo, 100) doesn't substitute all the infinities. Why is that so ? If it would have worked, we could have such an