Logo

Programming-Idioms

History of Idiom 26 > diff from v4 to v5

Edit summary for version 5 by :

Version 4

2015-07-31, 19:28:49

Version 5

2015-08-19, 17:12:57

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
let x = vec![vec![0.0f64; N]; M];
Demo URL
http://is.gd/w2yN9Y