Matrix transposition: Difference between revisions

Line 200:
=={{header|Fortran}}==
In ISO Fortran 90 and later, use the TRANSPOSE function:
REAL, DIMENSION(N,M) :: A = RESHAPE( (/ ((i+2*j,i=1,n*m) /),j=1 (/ n, m) /) )
REAL, DIMENSION(M,N) :: B
Anonymous user