9.272. TRANSPOSE

9.272 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:

Fortran 95 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 same type as MATRIX, and has shape (/ m, n /) if MATRIX has shape (/ n, m /).

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gfortran/TRANSPOSE.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部