You can do Array{Int}[[1,2],[3,4]], or Vector{Int}[[1,2],[3,4]] if you want
to restrict the entries to be 1d arrays of Int.
- [julia-users] initialize array of arrays? Evan Pu
- [julia-users] Re: initialize array of arrays? Steven G. Johnson
You can do Array{Int}[[1,2],[3,4]], or Vector{Int}[[1,2],[3,4]] if you want
to restrict the entries to be 1d arrays of Int.