Fastest way to transpose a matrix stored in an 1D array in NumPy?

前端 未结 0 1546
遥遥无期
遥遥无期 2021-01-04 00:52

Given a vector v of length N^2 that holds the entries of a NxN matrix M, what is the fastest way to compute the transpose

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