Not sure how efficient it is but you can build n vectors and then append a
number each time, something of this sort
x = Int64[]
for i=1:10
x=append!([x],[i])
end
T
On Tuesday, 27 May 2014 16:26:48 UTC+2, Miri Or wrote:
>
> Hi
> I need to write a program in julia language. I have to define a *matrix *with
> four columns and i need to add to that rows during the program
> execution, that means in a *dynamically *way.
> *matrix[n][4]*, and i do not know the number of lines in the matrix at
> the beginning of the program.
>
> It is very urgent, hope you help me quickly
> Thank you!
>