Next: , Previous: TRANSFER, Up: Intrinsic Procedures


6.212 TRANSPOSE — Transpose an array of rank two

Description:
Transpose an array of rank two. Element (i, j) of the result has the value MATRIX(j, i), for all i, j.
Standard:
F95 and later
Class:
Transformational function
Syntax:
RESULT = TRANSPOSE(MATRIX)
Arguments:

MATRIX Shall be an array of any type and have a rank of two.

Return value:
The result has the the same type as MATRIX, and has shape (/ m, n /) if MATRIX has shape (/ n, m /).