Boost logo

Ublas :

From: Nico Galoppo (ngaloppo_at_[hidden])
Date: 2008-06-21 10:09:41


What is the best way to find out if the nonzero structure of two
sparse matrices is the same (assume both have the same type,

On a similar note, if they aren't, I need this type of query: say A
and B are sparse, slightly different structure. Say C = A + B also
sparse. Iterating over C.value_data()[i], I'd like to find out the
corresponding indices (i,j) into A and B.



Nico Galoppo ::