49 o << coom.rows() <<
" " << coom.cols() <<
" " << coom.nz() <<
"\n";
52 *itr_val = coom.const_val(),
53 *itr_val_end = coom.const_val() + coom.nz();
54 const COOMatrix::indice_type
55 *itr_ivect = coom.const_ivect(),
56 *itr_jvect = coom.const_jvect();
58 for(; itr_val != itr_val_end; ++itr_val, ++itr_ivect, ++itr_jvect)
59 o << *itr_val <<
":" << *itr_ivect <<
":" << *itr_jvect <<
" ";
std::ostream & output(std::ostream &o, const COOMatrix &coom)
Output stream function for COOMatrix.
AbstractLinAlgPack::value_type value_type