powered by
supermat(X)
B
C
A
# array (2x2x2) with integers from 1 to 8 X <- array(1:8,c(2,2,2)) Y <- supermat(X) # matricized arrays Y$Xa Y$Xb Y$Xc
Run the code above in your browser using DataLab