Or:
sage: import numpy as np
sage: from numpy import linalg as LA
sage: a=np.random.rand(512,512)
sage: ainv=LA.inv(a)
sage: np.allclose(np.dot(ainv,a),np.eye(512))
True

Andrzej Chrzeszczyk

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to