Transpose[list,{n1,n2,...}]
What's the meaning of 'transpose list so that the k-th level in list us the n_k-th level in the result'?
As far as I'm concerned, I thought for a list of 4*4 matrix, the {n1,n2,...} can be {4,2,3,1} or {1,3,2,4} etc., but it was wrong, so what does the {n1,n2,...} mean?
Transpose? Strongly related: https://mathematica.stackexchange.com/a/14810/1871 – xzczd Jan 12 '23 at 11:12MatrixForm@Transpose[{{1, 2}, {3, 4}}]toMatrixForm@Transpose[{{1, 2}, {3, 4}}, {1}]as a minimal example – bmf Jan 12 '23 at 11:22Transpose[{1,2,3}]isn't even legal: https://mathematica.stackexchange.com/q/244659/1871 – xzczd Jan 12 '23 at 11:26Transpose: For a square matrixm,Transpose[m,{1,1}]returns the main diagonal ofm, as given byDiagonal[m]. » – xzczd Jan 12 '23 at 11:31Transposeis the way, it would be better to tell us the matrix you want to construct. – bmf Jan 12 '23 at 11:32