#include <Matrix.h>
|
size_t | toIndex (size_t row, size_t col) const |
|
Definition at line 26 of file Matrix.h.
◆ Matrix()
Matrix::Matrix |
( |
size_t |
rowCount = 0 , |
|
|
size_t |
colCount = 0 |
|
) |
| |
◆ getColCount()
size_t Matrix::getColCount |
( |
| ) |
const |
|
inline |
◆ getRowCount()
size_t Matrix::getRowCount |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
mpq_class& Matrix::operator() |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| |
|
inline |
◆ operator()() [2/2]
const mpq_class& Matrix::operator() |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| const |
|
inline |
◆ resize()
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.
Definition at line 61 of file Matrix.cpp.
◆ swap()
void Matrix::swap |
( |
Matrix & |
mat | ) |
|
◆ toIndex()
size_t Matrix::toIndex |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| const |
|
inlineprivate |
◆ _colCount
◆ _entries
vector<mpq_class> Matrix::_entries |
|
private |
◆ _rowCount
The documentation for this class was generated from the following files: