$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: boost (boost_at_[hidden])
Date: 2002-05-05 14:38:37
Salut,
On Friday 03 May 2002 21:29, Joerg Walter wrote:
> We recently discussed, that this could be achieved by accessing the
> internal representation of a sparse_matrix. In the meantime we (hopefully
> ;-) added all necessary members to allow for something like
>
> for (numerics::sparse_matrix<double>::array_type::const_iterator itm =
> m.data().begin ();
> itm != m.data ().end ();
> ++ itm) {
> std::cout << (*itm).first << " " << (*itm).second <<
> std::endl;
> }
>
> Is this ok for you?
If it works for dense and hermitean matrices, yes.
I'm, sorry, but I'm not using the ublas sparse matrices.
Best wishes,
Peter