return cols.size();
}
- /** Get height of the matrix, i.e. maximum row-index + 1 among all columns. */
+ /** Get height of the matrix, i.e. maximum row-index + 1 among all
+ * columns. */
size_t height() const {
IT h = 0;
for (unsigned c=0; c < width(); ++c)
get_derived()->_set(r, c, value);
}
- /** For each of the 'count'-many (row-index, column-pair) pair in 'indices', set the specific value. */
+ /** For each of the 'count'-many (row-index, column-pair) pair in
+ * 'indices', set the specific value. */
void set_all(index_type indices[][2], size_t count, bool value) {
for (unsigned i=0; i < count; ++i)
set(indices[i][0], indices[i][1], value);
get_derived()->_set(r, c, value);
}
- /** For each of the 'count'-many (row-index, column-pair) pair in 'indices', set the specific value. */
+ /** For each of the 'count'-many (row-index, column-pair) pair in
+ * 'indices', set the specific value. */
void set_all(index_type indices[][2], size_t count, bool value) {
for (unsigned i=0; i < count; ++i)
set(indices[i][0], indices[i][1], value);
colbase::set(r, c, value);
}
- /** For each of the 'count'-many (row-index, column-pair) pair in 'indices', set the specific value. */
+ /** For each of the 'count'-many (row-index, column-pair) pair in
+ * 'indices', set the specific value. */
void set_all(index_type indices[][2], size_t count, bool value) {
colbase::set_all(indices, count, value);
}
return count;
}
-/** Multiply a*b and save the product in 'result'. It is assumed that 'result' is intially empty and has appropriate size. */
+/** Multiply a*b and save the product in 'result'. It is assumed that 'result'
+ * is intially empty and has appropriate size. */
template<class IT, class D1, class D2, class RT>
void multiply_matrix(RT &result, const boolean_rowmatrix_base<IT, D1> &a, const boolean_colmatrix_base<IT, D2> &b) {
assert(a.height() == b.width());