How do I get the inverse of a matrix in python? I\'ve implemented it myself, but it\'s pure python, and I suspect there are faster modules out there to do it.
Numpy will be suitable for most people, but you can also do matrices in Sympy
Try running these commands at http://live.sympy.org/
M = Matrix([[1, 3], [-2, 3]]) M M**-1
For fun, try M**(1/2)
M**(1/2)