White space editing in booleanmatrix.h
authorStefan Huber <shuber@sthu.org>
Thu, 9 Jan 2014 19:53:42 +0000 (20:53 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 14 Jan 2014 15:21:20 +0000 (16:21 +0100)
include/libstick-0.1/booleanmatrix.h

index 2b64a4ecb79bcd4200e3e26ab3c16bfa2fd10025..d98e7b52cb5174795563ec0c785863dbd514305a 100644 (file)
@@ -47,7 +47,8 @@ class boolean_colmatrix_base {
             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)
@@ -68,7 +69,8 @@ class boolean_colmatrix_base {
             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);
@@ -257,7 +259,8 @@ class boolean_rowmatrix_base {
             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);
@@ -410,7 +413,8 @@ class boolean_colrowmatrix : public boolean_colmatrix_base<IT, boolean_colrowmat
             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);
         }
@@ -472,7 +476,8 @@ size_t count_set_intersection (InputIterator1 first1, InputIterator1 last1, Inpu
     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());