permute
- :
b =permute(a, perm)¶ Rearrange the dimensions of a: dimension k of the result is dimension
perm(k)of a. perm must be a permutation of1:Nwith N at leastndims (a).
permuteb = permute (a, perm) ¶Rearrange the dimensions of a: dimension k of the result is
dimension perm(k) of a. perm must be a
permutation of 1:N with N at least ndims (a).