That’s right. I tried permutedims!(reshape(1:8, (2,2,2)), (2,1,3)) and it works well indeed! A bit cumbersome due to column-major vs row-major conversion It should be really great if syntax for multidimensional array is merged in near future.
I’m not sure what you mean by “double column do not work”, but I think showcasing the use of ;; is important to explain why ;;; has three semicolons.
; separates items within a column (along dimension 1), ;; separates columns (along dimension 2), and ;;; separates pages (along dimension 3) etc. So that array can also be written as
[1; 4;; 2; 5;; 3; 6;;; 7; 10;; 8; 11;; 9; 12]
(the chosen numbers make this look a bit arbitrary, but we could have entered the numbers column by column to begin with and gotten