You can, but probably not without memory allocation since your Array of Array’s isn’t a continguous block of memory.
— John On May 25, 2014, at 10:36 AM, Freddy Chua <freddy...@gmail.com> wrote: > For example > > a = Array(Array, 0) > > push!(a, [1, 2]) > push!(a, [3, 4]) > > Gives me an array of array. Can I get a matrix easily in this way? > >