VocabularysequencesInputsmatrix | a sequence of equal-length sequences |
Outputsnewmatrix | a sequence of equal-length sequences |
Word descriptionTransposes the matrix; that is, rows become columns and columns become rows.
ExamplesUSING: prettyprint sequences ;
{ { 1 2 3 } { 4 5 6 } } flip .
{ { 1 4 } { 2 5 } { 3 6 } }
Definition