Logo

Programming-Idioms

History of Idiom 27 > diff from v18 to v19

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

Version 18

2015-12-30, 17:51:56

Version 19

2016-02-17, 17:24:17

Idiom #27 Create a 3-dimensional array

Declare and initialize a 3D array x, having dimensions boundaries m, n, p, and containing real numbers.

Idiom #27 Create a 3-dimensional array

Declare and initialize a 3D array x, having dimensions boundaries m, n, p, and containing real numbers.

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