from numpy import matrix
from numpy import linalg
A = matrix([[1, 2, 3], [11, 12, 13], [21, 22, 23]])
x = matrix([[1], [2], [3]])
y = matrix([[1, 2, 3]])
print(A.T)
print(A * x)
print(A.I)
print(linalg.solve(A, x))
Python Inverse of a Matrix