TRANSPOSE(3I) Last changed: 1-6-98
TRANSPOSE - Transposes an array of rank two
TRANSPOSE ([MATRIX=]matrix)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The TRANSPOSE intrinsic function transposes a two-dimensional array.
It accepts the following argument:
matrix May be of any type and must have rank two
TRANSPOSE is a transformational function. The name of this intrinsic
cannot be passed as an argument.
The result is an array of the same type and type parameters as matrix,
with rank two, and shape (n, m), where (m, n) is the shape of matrix.
Element (i, j) of the result has the value matrix(j,i), where
i = 1, 2, ..., n and j = 1, 2, ..., m.
Assume that array A is as follows:
| 1 2 3 |
| 4 5 6 |
| 7 8 9 |
TRANSPOSE(A) has the following value:
| 1 4 7 |
| 2 5 8 |
| 3 6 9 |
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
TRANSPOSE(3I) Last changed: 1-6-98
TRANSPOSE - Transposes an array of rank two
TRANSPOSE ([MATRIX=]matrix)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The TRANSPOSE intrinsic function transposes a two-dimensional array.
It accepts the following argument:
matrix May be of any type and must have rank two
TRANSPOSE is a transformational function. The name of this intrinsic
cannot be passed as an argument.
The result is an array of the same type and type parameters as matrix,
with rank two, and shape (n, m), where (m, n) is the shape of matrix.
Element (i, j) of the result has the value matrix(j,i), where
i = 1, 2, ..., n and j = 1, 2, ..., m.
Assume that array A is as follows:
| 1 2 3 |
| 4 5 6 |
| 7 8 9 |
TRANSPOSE(A) has the following value:
| 1 4 7 |
| 2 5 8 |
| 3 6 9 |
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|