Macaulay2 » Documentation
Packages » SparseResultants :: ring(MultidimensionalMatrix)
next | previous | forward | backward | up | index | toc

ring(MultidimensionalMatrix) -- ring of a multidimensional matrix

Synopsis

Description

i1 : M = multidimensionalMatrix {{{3, 8}, {3, 6}}, {{5, 1}, {4, 2}}}

o1 = {{{3, 8}, {3, 6}}, {{5, 1}, {4, 2}}}

o1 : 3-dimensional matrix of shape 2 x 2 x 2 over ZZ
i2 : ring M

o2 = ZZ

o2 : Ring
i3 : M = multidimensionalMatrix {{{7, 2/3}, {1/7, 3}}, {{5/8, 8/9}, {1/3, 5}}}

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

o3 : 3-dimensional matrix of shape 2 x 2 x 2 over QQ
i4 : ring M

o4 = QQ

o4 : Ring

Ways to use this method: