from numpy import array, linalg, matmul
a = array([[1, -1, 0], [3, 0, -1], [1, 3, -2]])
print(a)
b = array([[2, -1, 1], [0, 3, -1], [-1, 2, 0]])
print(b)
inv = linalg.inv(a)
print(inv)
i = linalg.inv(b)
print(i)
ab = matmul(a, b)
print(ab)

6704852a593f3bd7b7bcaae59eb09802f588dde3
<mask token>

<mask token>
print(a)
<mask token>
print(b)
<mask token>
print(inv)
<mask token>
print(i)
<mask token>
print(ab)

<mask token>
a = array([[1, -1, 0], [3, 0, -1], [1, 3, -2]])
print(a)
b = array([[2, -1, 1], [0, 3, -1], [-1, 2, 0]])
print(b)
inv = linalg.inv(a)
print(inv)
i = linalg.inv(b)
print(i)
ab = matmul(a, b)
print(ab)

from numpy import array, linalg, matmul
a = array([[1, -1, 0], [3, 0, -1], [1, 3, -2]])
print(a)
b = array([[2, -1, 1], [0, 3, -1], [-1, 2, 0]])
print(b)
inv = linalg.inv(a)
print(inv)
i = linalg.inv(b)
print(i)
ab = matmul(a, b)
print(ab)
