i1 : M = multidimensionalMatrix {{{0, 8, 3}, {7, 3, 2}, {2, 7, 0}, {4, 8, 4}}, {{0, 8, 1}, {3, 1, 0}, {4, 7, 4}, {0, 6, 9}}}
o1 = {{{0, 8, 3}, {7, 3, 2}, {2, 7, 0}, {4, 8, 4}}, {{0, 8, 1}, {3, 1, 0}, {4, 7, 4}, {0, 6, 9}}}
o1 : 3-dimensional matrix of shape 2 x 4 x 3 over ZZ
|
i2 : shape M
o2 = {2, 4, 3}
o2 : List
|
The object shape is a method function.