How can I permute only certain entries of numpy 2d-array?

后端 未结 0 339
自闭症患者
自闭症患者 2020-12-06 17:07

I have a numpy 2d-array of shape (N, N) representing a NxN correlation matrix. This matrix is symmetric. Say N=5, then an example of this 2d-array would be:

x         


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