numpy matrix subtraction gives very small number where it should give zero

后端 未结 0 1790
日久生厌
日久生厌 2020-12-07 19:30

I have the following code:

A = np.random.randint(-10,10,(4,4))
B = np.random.randint(-10,10,(4,4))
A1, A2, A3, A4 = inv(A@B), inv(A)@inv(B), inv(B@A), inv(B)@         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题