History of Idiom 27 > diff from v16 to v17
Edit summary for version 17 by :
[Go] Better playground code
[Go] Better playground code
↷
Version 16
2015-12-30, 17:26:25
Version 17
2015-12-30, 17:48:55
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.
Comments bubble
This code allocates one big slice for the numbers, then a few slices for intermediate dimensions.
To same function would be rewritten, for types other than float64.
Comments bubble
This code allocates one big slice for the numbers, then a few slices for intermediate dimensions.
To same function would be rewritten, for types other than float64.