next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SparseResultants :: dim(MultidimensionalMatrix)

dim(MultidimensionalMatrix) -- dimension of a multidimensional matrix

Synopsis

Description

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 : dim M

o2 = 3

See also