Fastest way to shift rows of matrix in Python

前端 未结 0 996
予麋鹿
予麋鹿 2020-12-07 13:48

I have a 4x4 matrix like this:

1  2  3  4
5  6  7  8
9  10 11 12
13 14 15 16
17 18 19 20

I want to shift each row left, by the amount of the

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