MTL: sparse matrix element removal

View: New views
1 Messages — Rating Filter:   Alert me  

MTL: sparse matrix element removal

by yasser hifny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I create a sparse matrix from the following type:
typedef mtl::matrix<float, rectangle<>, array<
compressed<> >, column_major>::type CFSparseMatrix;


I  insert many elements in the matrix and after some
processing some elements of the matrix became zero. I
would like to remove these elements from the strorage
sturcture. The easy way I did way to copy the matrix
into another matrix and make an if condition to remove
elements, which have zero value. This method exhaust
the memory and may not be effecint if I use large
matrix. I would like to know a method can be useful
for this case?

There is a lot of disccuions about MTL and boost. What
is the actaul future for MTL?  

Thanks,
yasser


       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/