Lines Matching defs:columns
22 Matrix<T>::Matrix(unsigned rows, unsigned columns, unsigned reservedRows,
24 : nRows(rows), nColumns(columns),
169 // Out of bounds columns are zero-initialized. NOLINT because clang-tidy
172 // TODO: this case can be skipped if the number of reserved columns
176 // Shift the data occuring after the inserted columns.
179 // The inserted columns are also zero-initialized.
182 // The columns before the inserted columns stay at the same (row, col)
184 // if the number of reserved columns changed.
257 // moveColumns is implemented by moving the columns adjacent to the source range
259 // of the adjacent columns is [srcPos + num, dstPos + num). When moving left
260 // (i.e. dstPos < srcPos) the range of the adjacent columns is [dstPos, srcPos).
261 // First, zeroed out columns are inserted in the final positions of the adjacent
262 // columns. Then, the adjacent columns are moved to their final positions by
263 // swapping them with the zeroed columns. Finally, the now zeroed adjacent
264 // columns are deleted.
275 "move source range exceeds matrix columns");
277 "move destination range exceeds matrix columns");
283 // Insert new zero columns in the positions where the adjacent columns are to
286 // Update curAdjStart if insertion of new columns invalidates it.
290 // Swap the adjacent columns with inserted zero columns.
294 // Delete the now redundant zero columns.
471 // Invariant: in all rows above row, all columns from echelonCol onwards
490 // above since they are all zero at these columns.
515 // swap the indices sourceCol and targetCol. (not the columns themselves)
524 // guaranteed to be zero at these columns.