RosettaCodeData/Task/Matrix-transposition/ELLA/matrix-transposition.ella

3 lines
105 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
MAC TRANSPOSE = ([INT n][INT m]TYPE t: matrix) -> [m][n]t:
[INT i = 1..m] [INT j = 1..n] matrix[j][i].