What''s the best way to transform an arbitrary array into a 1-dimensional array in row-major order?
You can access individual elements that way using the storage class getter and setter, and you can use vector->array and array->vector, but the result is not shared. Is there any alternative?
