Boost logo

Boost Users :

Subject: [Boost-users] [boost::multi_array] Is there simple method to delete certain row / column?
From: Vladimir Petorov (fogbit_at_[hidden])
Date: 2009-09-10 09:33:00


Hello!

I got two-dimensional array class based on boost::multi_array class.
I need to delete some certain column or row of it.
How to delete it with keeping the data?

For example I have 2D array 6x6, and i need to delete 3th row and 4th
column with keeping data from other rows and columns.

Is it simple method (multi_array class function or some smart method) or should i create new array 5x5 and copy data in it
except 3th row and 4th column?

Thanks!


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