33 #ifndef __H__UG__MAP_ALGEBRA__SPARSEMATRIX_PRINT__
34 #define __H__UG__MAP_ALGEBRA__SPARSEMATRIX_PRINT__
57 UG_LOG(
"row " << row <<
": ");
60 if(it.value() == 0.0)
continue;
62 UG_LOG(
"(" << it.index() <<
" -> " << it.value() <<
")");
Definition: mapsparsematrix.h:334
void print(const char *const name=NULL) const
Definition: mapsparsematrix_print.h:44
void printtype() const
Definition: mapsparsematrix_print.h:69
void printrow(size_t row) const
Definition: mapsparsematrix_print.h:55
#define UG_LOG(msg)
Definition: log.h:367
size_t num_rows() const
Definition: sparsematrix_interface.h:38
const_row_iterator end_row(size_t row) const
const_row_iterator begin_row(size_t row) const
size_t num_cols() const
Definition: sparsematrix_interface.h:39