Logo

Programming-Idioms

History of Idiom 26 > diff from v22 to v23

Edit summary for version 23 by :
New Ada implementation by user [Smaehtin]

Version 22

2016-02-17, 11:25:47

Version 23

2016-02-17, 16:50:02

Idiom #26 Create a 2-dimensional array

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

Idiom #26 Create a 2-dimensional array

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

Code
X : array (1 .. M, 1 .. N) of Float := (others => (others => 1.0));