Lines Matching refs:Matrix

16 Matrix::Matrix(unsigned rows, unsigned columns, unsigned reservedRows,  in Matrix()  function in Matrix
24 Matrix Matrix::identity(unsigned dimension) { in identity()
25 Matrix matrix(dimension, dimension); in identity()
31 unsigned Matrix::getNumReservedRows() const { in getNumReservedRows()
35 void Matrix::reserveRows(unsigned rows) { in reserveRows()
39 unsigned Matrix::appendExtraRow() { in appendExtraRow()
44 unsigned Matrix::appendExtraRow(ArrayRef<int64_t> elems) { in appendExtraRow()
52 void Matrix::resizeHorizontally(unsigned newNColumns) { in resizeHorizontally()
59 void Matrix::resize(unsigned newNRows, unsigned newNColumns) { in resize()
64 void Matrix::resizeVertically(unsigned newNRows) { in resizeVertically()
69 void Matrix::swapRows(unsigned row, unsigned otherRow) { in swapRows()
78 void Matrix::swapColumns(unsigned column, unsigned otherColumn) { in swapColumns()
87 MutableArrayRef<int64_t> Matrix::getRow(unsigned row) { in getRow()
91 ArrayRef<int64_t> Matrix::getRow(unsigned row) const { in getRow()
95 void Matrix::setRow(unsigned row, ArrayRef<int64_t> elems) { in setRow()
102 void Matrix::insertColumn(unsigned pos) { insertColumns(pos, 1); } in insertColumn()
103 void Matrix::insertColumns(unsigned pos, unsigned count) { in insertColumns()
144 void Matrix::removeColumn(unsigned pos) { removeColumns(pos, 1); } in removeColumn()
145 void Matrix::removeColumns(unsigned pos, unsigned count) { in removeColumns()
158 void Matrix::insertRow(unsigned pos) { insertRows(pos, 1); } in insertRow()
159 void Matrix::insertRows(unsigned pos, unsigned count) { in insertRows()
172 void Matrix::removeRow(unsigned pos) { removeRows(pos, 1); } in removeRow()
173 void Matrix::removeRows(unsigned pos, unsigned count) { in removeRows()
182 void Matrix::copyRow(unsigned sourceRow, unsigned targetRow) { in copyRow()
189 void Matrix::fillRow(unsigned row, int64_t value) { in fillRow()
194 void Matrix::addToRow(unsigned sourceRow, unsigned targetRow, int64_t scale) { in addToRow()
201 void Matrix::addToColumn(unsigned sourceColumn, unsigned targetColumn, in addToColumn()
209 void Matrix::negateColumn(unsigned column) { in negateColumn()
214 void Matrix::negateRow(unsigned row) { in negateRow()
219 int64_t Matrix::normalizeRow(unsigned row, unsigned cols) { in normalizeRow()
223 int64_t Matrix::normalizeRow(unsigned row) { in normalizeRow()
228 Matrix::preMultiplyWithRow(ArrayRef<int64_t> rowVec) const { in preMultiplyWithRow()
239 Matrix::postMultiplyWithColumn(ArrayRef<int64_t> colVec) const { in postMultiplyWithColumn()
250 void Matrix::print(raw_ostream &os) const { in print()
258 void Matrix::dump() const { print(llvm::errs()); } in dump()
260 bool Matrix::hasConsistentState() const { in hasConsistentState()