Excited to see the other solutions for this, but a workaround would be to 
store vectors in an array and then do A = hcat(A...)
d1 = 10
d2 = 10
A = Array(Array{Float64,2}, 0)
b = ones(d1,d2)
push!(A, b)

Aa = hcat(A...)

Aa[:, :, 1] == b

kl. 19:50:02 UTC+1 fredag 14. mars 2014 skrev Valentin Churavy følgende:
>
> Hello there,
>
> I am looking into ways to grow a multidimensional array in julia. 
> Essential I would like to do the following:
>
>
> d1=10
> d2=10
> A=Array(Float64, d1, d2, 0)
> b=ones(d1, d2)
> push!(A, b)
>
> A[:, :, 1] == b
>
> Is there any way to do such a thing?
>
> According to the documentation on Dequeues the push interface is only 
> fully implemented for Vector.
>
> Cheers,
> Valentin
>

Reply via email to