Logo

Programming-Idioms

History of Idiom 26 > diff from v63 to v64

Edit summary for version 64 by Robin:
[Fortran] bounds were back-to-front

Version 63

2019-09-30, 11:49:22

Version 64

2019-10-03, 10:38:49

Idiom #26 Create a 2-dimensional array

Declare and initialize a matrix x having m rows and n columns, containing real numbers.

Illustration

Idiom #26 Create a 2-dimensional array

Declare and initialize a matrix x having m rows and n columns, containing real numbers.

Illustration
Code
  real, dimension(n,m) :: x
Code
  real, dimension(m,n) :: x