Hello,
I have a *102x500 Array{Int64,2} *named x*. *I want to add 25 additional 
columns all of the same row size (102) using a function. In my function I 
have the line: x=hcat(x,ones(Int64,102,25)) which works. The problem is 
that this modifies x in a non-permanent way-- perhaps a local copy is 
created?-- so that once the function is completed x remains 102 X 500. For 
1-d arrays, resize! causes a permanent change to the size of the array. Is 
there some function or way that I can manipulate the multidimensional array 
with permanent changes without passing the array back and forth (i.e. 
having a "return " line)?
Thanks,
Eric

Reply via email to