Vocabularymath.
matricesInputsOutputsWord descriptionCreates a matrix of size
m x n using elements given by
quot, a quotation called to create each element.
NotesThe following are equivalent:
m n [ 2drop foo ] <matrix-by-indices>
m n [ foo ] <matrix-by>
ExamplesUSING: math.matrices prettyprint ;
4 5 [ 5 ] <matrix-by> .
{ { 5 5 5 5 5 } { 5 5 5 5 5 } { 5 5 5 5 5 } { 5 5 5 5 5 } }
Definition