Vocabularymath.
matricesInputsOutputsWord descriptionMultiplies 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 ;
{ { 5 9 } { 15 17 } } { { 3 2 } { 4 9 } } m* .
{ { 15 18 } { 60 153 } }
Definition