Vocabularymath.
matricesInputsOutputsWord descriptionFolds an
n>2-dimensional matrix onto itself.
ExamplesUSING: math.matrices prettyprint ;
{
{ { 0 5 } { 6 7 } { 0 15 } { 18 21 } }
{ { 0 10 } { 12 14 } { 0 20 } { 24 28 } }
} stitch .
{
{ 0 5 0 10 }
{ 6 7 12 14 }
{ 0 15 0 20 }
{ 18 21 24 28 }
}
Definition