If matrix_a = [[a, b], [c, d]], and matrix_b = [[w, x], [y, z]] compute matrix_c = [[a*w + a*y, b*x + b*z], [c*w + c*y, d*x + d*z]] in Python 3?

后端 未结 0 1575
旧时难觅i
旧时难觅i 2021-01-21 18:27

If I had two matrices matrix_a = [[a, b], [c, d]], and matrix_b = [[w, x], [y, z]] and I wished to find the following matrix matrix_c = [[aw + ay, bx + bz], [c

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