[julia-users] Re: initialize array of arrays?
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] Re: initialize array of arrays?
works for me! thanks!! On Thursday, January 8, 2015 1:07:35 PM UTC-5, Steven G. Johnson wrote: > > 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. >