Calling a matrix from a dictionary?

前端 未结 0 1706
猫巷女王i
猫巷女王i 2020-12-05 23:17

I created a dictionary m of 3 10x10 matrices

and I wanted to print something if AB(C)==(AB)C so

if (m[0]@m[1])@m[2]==m[0]@(m[1]@m[2]): print("yes!")

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