History of Idiom 27 > diff from v20 to v21
Edit summary for version 21 by :
Restored version 19
Restored version 19
↷
Version 20
2016-02-18, 16:57:58
Version 21
2016-02-18, 17:21:43
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.