|
Boost Users : |
From: r0d (rpons_at_[hidden])
Date: 2008-05-30 07:31:22
Hello everybody,
i'm looking for the best way to modify the dimensions of an array. For
example, i got this one:
boost::multi_array<int, 2> array ( boost::extents[3][3] );
and i want to change it in an array of 5 dimensions.
Now, what i'm doing is to create a new array of 5 dimensions and copying the
first one into it, then delete the first one. But i'm sure that a more
efficient way exists. No?
-- View this message in context: http://www.nabble.com/-multi_array--how-to-modify-the-dimension-of-an-array--tp17556767p17556767.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net