chickadee » generalized-arrays » array-rearrange-axes

array-rearrange-axes array orderprocedure

Returns an array whose axes are an arbitrary permutation of the axes of array. Vec specifies how to do the permutation: the axis whose number appears in the first element of vector appears as the first axis of the result, and so on. (APL dyadic transpose with integer-valued vector.)