Multidimensional array with different size

#1

Is it possible to declare a multidimensional array with different size in one direction? For example, I want to declare a three-dimensional array. A[:,:,1] should have dimension 64 X 64. A[:,:,2] should have dimension 32 X 32.
Thank you.

0 Likes

#2

You can just make a vector of matrices.

3 Likes