Alex Rivera | Logout

Python Inverse of a Matrix

Asked 2008-10-17T05:30:49.997
62

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.

Edit
Report

1 Answer

1

If you hate numpy, get out RPy and your local copy of R, and use it instead.

(I would also echo to make you you really need to invert the matrix. In R, for example, linalg.solve and the solve() function don't actually do a full inversion, since it is unnecessary.)

answered 2008-10-17T20:25:42.873

Your Answer