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

MultidimensionalMatrix - MultidimensionalMatrix -- difference of two multidimensional matrices of the same shape

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 : N = multidimensionalMatrix {{{1, 7}, {6, 5}, {5, 5}}, {{4, 3}, {3, 8}, {4, 1}}}

o2 = {{{1, 7}, {6, 5}, {5, 5}}, {{4, 3}, {3, 8}, {4, 1}}}

o2 : 3-dimensional matrix of shape 2 x 3 x 2 over ZZ
i3 : M - N

o3 = {{{0, 0}, {-3, 1}, {-4, 1}}, {{-1, 2}, {1, -4}, {4, -1}}}

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

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

o4 : 3-dimensional matrix of shape 2 x 3 x 2 over ZZ