next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SparseResultants :: RingElement * MultidimensionalMatrix

RingElement * MultidimensionalMatrix -- product of a scalar with a multidimensional matrix

Synopsis

Description

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

o1 = {{{1, 7}, {3, 6}, {1, 6}}, {{3, 5}, {4, 4}, {8, 0}}}

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

o2 = {{{2, 14}, {6, 12}, {2, 12}}, {{6, 10}, {8, 8}, {16, 0}}}

o2 : 3-dimensional matrix of shape 2 x 3 x 2 over ZZ
i3 : (3/2) * M

        3  21    9       3         9  15
o3 = {{{-, --}, {-, 9}, {-, 9}}, {{-, --}, {6, 6}, {12, 0}}}
        2   2    2       2         2   2

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

See also