|
Frobby 0.10.0
|
Public Member Functions | |
| Matrix (size_t rowCount=0, size_t colCount=0) | |
| size_t | getRowCount () const |
| size_t | getColCount () const |
| void | resize (size_t rowCount, size_t colCount) |
| const mpq_class & | operator() (size_t row, size_t col) const |
| mpq_class & | operator() (size_t row, size_t col) |
| void | swap (Matrix &mat) |
| void Matrix::resize | ( | size_t | rowCount, |
| size_t | colCount ) |
Set the number of rows and columns.
Preserves the value of entries that are still present. New entries are initialized to zero.