i1 : M = multidimensionalMatrix {{{1, 7}, {3, 6}, {1, 6}}, {{3, 5}, {4, 4}, {8, 0}}}
warning: clearing value of symbol x2 to allow access to subscripted variables based on it
: debug with expression debug 1368 or with command line option --debug 1368
warning: clearing value of symbol x1 to allow access to subscripted variables based on it
: debug with expression debug 5513 or with command line option --debug 5513
warning: clearing value of symbol x0 to allow access to subscripted variables based on it
: debug with expression debug 6010 or with command line option --debug 6010
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
|