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 = {{{2, 14}, {9, 11}, {6, 11}}, {{7, 8}, {7, 12}, {12, 1}}}
o3 : 3-dimensional matrix of shape 2 x 3 x 2 over ZZ
|