m/ ( m1 m2 -- m )
Matrix operations

Prev:m* ( m1 m2 -- m )
Next:m~ ( m1 m2 epsilon -- ? )


Vocabulary
math.matrices

Inputs
m1a matrix
m2a matrix


Outputs
ma matrix


Word description
Divides 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 )


Examples
USING: math.matrices prettyprint ; { { 5 9 } { 15 17 } } { { 3 2 } { 4 9 } } m/ .
{ { 1+2/3 4+1/2 } { 3+3/4 1+8/9 } }


Definition