Frobby 0.10.0
Loading...
Searching...
No Matches
Matrix Class Reference

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)

Member Function Documentation

◆ 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.


The documentation for this class was generated from the following files: