next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SparseResultants :: multidimensionalMatrix

multidimensionalMatrix -- make a multidimensional matrix

Synopsis

Description

i1 : multidimensionalMatrix {{0, 5}, {9, 3}, {7, 2}}

o1 = {{0, 5}, {9, 3}, {7, 2}}

o1 : 2-dimensional matrix of shape 3 x 2 over ZZ
i2 : multidimensionalMatrix {{{1, 0}, {4, 3}}, {{3, 1}, {5, 9}}}

o2 = {{{1, 0}, {4, 3}}, {{3, 1}, {5, 9}}}

o2 : 3-dimensional matrix of shape 2 x 2 x 2 over ZZ
i3 : multidimensionalMatrix {{{7/3, 8, 0}, {6, 8, 3}}, {{3, 8, 2}, {9, 2, 4}}, {{0, 2, 9}, {1, 9, 5}}, {{2, 8, 4}, {9, 7, 7}}}

        7
o3 = {{{-, 8, 0}, {6, 8, 3}}, {{3, 8, 2}, {9, 2, 4}}, {{0, 2, 9}, {1, 9, 5}},
        3
     ------------------------------------------------------------------------
     {{2, 8, 4}, {9, 7, 7}}}

o3 : 3-dimensional matrix of shape 4 x 2 x 3 over QQ

See also

Ways to use multidimensionalMatrix :

For the programmer

The object multidimensionalMatrix is a method function.