Next: TRIM, Previous: TRANSFER, Up: Intrinsic Procedures [Contents][Index]
TRANSPOSE — Transpose an array of rank twoRESULT = TRANSPOSE(MATRIX)
Transpose an array of rank two. Element (i, j) of the result has the value
MATRIX(j, i), for all i, j.
Transformational function
| MATRIX | Shall be an array of any type and have a rank of two. |
The result has the same type as MATRIX, and has shape
(/ m, n /) if MATRIX has shape (/ n, m /).
Fortran 90 and later