Vocabularymath.
matricesInputsOutputsWord descriptionSubtracts two matrices element-wise.
Notes• | This word is intended for use with "flat" (2-dimensional) matrices. |
• | This word assumes that elements of the input matrix are compatible with the following words: - ( x y -- z ) |
ExamplesUSING: math.matrices prettyprint ;
{ { 4 5 6 } { 6 5 4 } } { { 1 2 3 } { 3 2 1 } } m- .
{ { 3 3 3 } { 3 3 3 } }
Definition