Array of arrays construction

Float64[] is an alias for Array{Float64,1}(). So you can use Array{Float64,2}(undef,r,c). It is necessary to specify undef and the dimensions for arrays with more than one dimension. Depending on your use case it might be simpler to use x = [fill(0.0,2,2) for i in 1:10]