Hi,

I have been using Sympy for quite some time now in a symbolic electric
circuit solver (which I will release soon).

To the problem, I have a matrix that gives an incorrect inverse:

>>> A = Matrix([[x+y, -x, 0], [-x-y, x, 1], [0,1,0]])
>>> Ainv = A.inv()
>>> Ainv.simplify()
>>> print Ainv
⎡0  0  0⎤
⎢       ⎥
⎢0  0  1⎥
⎢       ⎥
⎣0  1  0⎦
>>> print A*Ainv
⎡  0     0  0⎤
⎢            ⎥
⎢  0     1  0⎥
⎢            ⎥
⎣-x - y  x  1⎦

Regards,

Henrik

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

Reply via email to