numpyで逆行列(inverse matrix)を求める
from numpy.linalg import inv a = np.array([[1., 2.], [3., 4.]]) ainv = inv(a)
参考 https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.linalg.inv.html
from numpy.linalg import inv a = np.array([[1., 2.], [3., 4.]]) ainv = inv(a)
参考 https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.linalg.inv.html