Hi Bruce, Suppose you have a 1d vector where all the elements are in the proper order for viewing as a 2d vector once you know the number of rows and columns. Is there some way to re-purpose the existing vector as a 2d vector? I'm trying to avoid duplicating the contents by copying over each element into a new vector just to load it into 2d.
I'm currently getting this 1d vector, but it might be possible instead to get a vector of vectors. If I had a vector of vectors, I know I could access the info similar to a 2d vector without duplicating the data. Must be a lot of overhead for making lots of vectors though? Would this be preferable to duplicating the data to go from 1d to 2d (assuming its not possible to re-purpose the existing vector)? Regards, Sheri
