[julia-users] Re: initialize array of arrays?

2015-01-08 Thread 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.


[julia-users] Re: initialize array of arrays?

2015-01-08 Thread Evan Pu
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.
>