<matrix> ( m n element -- matrix )
Matrix operations

Prev:null-matrix? ( object -- ? )
Next:<matrix-by> ( m n quot: ( ... -- elt ) -- matrix )


Vocabulary
math.matrices

Inputs
man integer
nan integer
elementan object


Outputs
matrixa matrix


Word description
Creates a matrix of size m x n, filled with element.

Examples
USING: math.matrices prettyprint ; 3 2 10 <matrix> .
{ { 10 10 } { 10 10 } { 10 10 } }

USING: math.matrices prettyprint ; 4 1 "¢" <matrix> .
{ { "¢" } { "¢" } { "¢" } { "¢" } }


Definition