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.

(x-oo).subs(oo,1)
x - oo

see issue 3059

Regarding the Matrix issue: this appears to work fine now:

A = Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]])
Ainv = A.inv()
Ainv=Ainv.applyfunc(simplify)
Ainv
[1/(x + y), 0, x/(x + y)]
[        0, 0,         1]
[        1, 1,         0]
A
[ x + y, -x, 0]
[-x - y,  x, 1]
[     0,  1, 0]
Ainv*A
[1, 0, 0]
[0, 1, 0]
[0, 0, 1]

(reopen if your results vary)

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to