Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2005-01-20 05:13:03

Am Donnerstag, 20. Januar 2005 02:39 schrieb Vento Neicapelli:
> Hi Michael
> Thanks for your answer. I tried iterator1 and iterator2 on a sparse
> matrix...but they are good to get rows and column....(with 0). How to
> get only the non-zeros? If you have some examples, please attach
> them.

Did you use const_iterator1 and const_iterator2? There is a difference
between mutable iterators and immutable const_iterators.