33 #ifndef __H__UG__CPU_ALGEBRA__SPARSEMATRIX_PRINT__
34 #define __H__UG__CPU_ALGEBRA__SPARSEMATRIX_PRINT__
60 UG_LOG(
"row " << row <<
": ");
63 if(it.value() == 0.0)
continue;
65 UG_LOG(
"(" << it.index() <<
" -> " << it.value() <<
")");
size_t num_cols() const
Definition: sparsematrix_interface.h:77
size_t num_rows() const
Definition: sparsematrix_interface.h:76
Definition: sparsematrix.h:421
sparse matrix for big, variable sparse matrices.
Definition: sparsematrix.h:99
void print(const char *const name=NULL) const
Definition: sparsematrix_print.h:47
#define UG_LOG(msg)
Definition: log.h:367
const_row_iterator end_row(size_t row) const
const_row_iterator begin_row(size_t row) const