m/n ( m n -- m )
Matrix operations

Prev:m*n ( m n -- m )
Next:n+m ( n m -- m )


Vocabulary
math.matrices

Inputs
ma matrix
nan object


Outputs
ma matrix


Word description
Every element in the input matrix m is divided by the scalar n.

Notes
The shape of the input matrix is preserved in the output.
This word is the swapped variant of n/m.
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: kernel math.matrices prettyprint ; { { 4 5 } { 2 1 } } 2 m/n .
{ { 2 2+1/2 } { 1 1/2 } }


Definition