debug only
| 132 | #ifndef SING_NDEBUG |
| 133 | // debug only |
| 134 | void intvec::view () const |
| 135 | { |
| 136 | Print ("intvec: {rows: %d, cols: %d, length: %d, Values: \n", rows(), cols(), length()); |
| 137 | |
| 138 | for (int i = 0; i < rows(); i++) |
| 139 | { |
| 140 | Print ("Row[%3d]:", i); |
| 141 | for (int j = 0; j < cols(); j++) |
| 142 | Print (" %5d", this->operator[]((i)*cols()+j) ); |
| 143 | PrintLn (); |
| 144 | } |
| 145 | PrintS ("}\n"); |
| 146 | } |
| 147 | #endif |
| 148 | |
| 149 | void intvec::show(int notmat,int spaces) const |
no test coverage detected