There is a permutedims(A::AbstractMatrix)
, and a permutedims!(dest, src, perm)
. Seems like there should be a method permutedims!(dest::AbstractMatrix, src::AbstractMatrix)
, with the default perm being [2,1]
.
3 Likes
Furthermore, for square matrices there should be an in-place transposition permutedims!(M::Matrix).
1 Like