You should be able to find previous discussions and proposed workarounds (perhaps under "grow" "arrays"). IIUC this is probably not going to be implemented anytime soon---not because it would be dreadfully hard (it wouldn't), but because it may interfere with something else we'd like to have, which is automatically detecting whether bounds-checking can be turned off.
Keep in mind that if you really want this, you could probably write a wrapper type that stores the data as a Vector but lies about its dimensionality to the rest of the world. --Tim On Friday, March 14, 2014 11:50:02 AM Valentin Churavy wrote: > 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
