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*(x + y) + (oo)*y*x**3*(x + y) + (oo)*x**2*y**2*(x + y) + (oo)*x**2*(x + y)**2 - oo*x**3*(x + y)**2 + (oo)*x*y*(x + y)**2 - oo*y*x**2*(x + y)**2, (oo)*x + (oo)*x**3*(2*x*y + x**2 + y**2) - oo*x**2*(2*x*y + x**2 + y**2) + (oo)*y*x**2*(2*x*y + x**2 + y**2), (oo)*x**2 - oo*y*x**2 - oo*x**3] [(oo)*x + (oo)*y + (oo)*x**3*(2*x*y + x**2 + y**2) - oo*x**2*(2*x*y + x**2 + y**2) + (oo)*x*y**2*(2*x*y + x**2 + y**2) + (oo)*y*x**2*(2*x*y + x**2 + y**2) - oo*x*y*(2*x*y + x**2 + y**2), (oo)*x + (oo)*y + (oo)*x**2*(2*x*y + x**2 + y**2) + (oo)*x*y*(2*x*y + x**2 + y**2) - oo*x*(x + y)*(2*x*y + x**2 + y**2), 1] [ (oo)*x*y + (oo)*x**2 - oo*x*y**2 - oo*y*x**2 - oo*x**3, 1, 0]


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

Reply via email to