21 Matrix(
const size_t& rowCount = 0,
const size_t& columnCount = 0);
48 const double&
operator()(
const size_t& rowIndex,
const size_t& columnIndex)
const;
49 double&
operator()(
const size_t& rowIndex,
const size_t& columnIndex);
52 double getValue(
const size_t& rowIndex,
const size_t& columnIndex)
const;
53 void setValue(
const size_t& rowIndex,
const size_t& columnIndex,
const double& value);
74 double subDeterminant(
const Matrix& matrix)
const;
75 size_t dataIndex(
const size_t& rowIndex,
const size_t& columnIndex)
const;
78 const size_t rowCount;
79 const size_t columnCount;
#define XXMATH_DECLSPEC
Definition XXMathExportDef.h:17
NxM martix.
Definition XXLinalgMatrix.h:19
friend QTextStream & operator>>(QTextStream &stream, Matrix &matrix)
Matrix & operator/=(const double &value)
bool sizeMatch(const Matrix &other) const
double determinant() const
friend QDebug operator<<(QDebug stream, const Matrix &matrix)
Matrix & operator*=(const double &value)
double & operator()(const size_t &rowIndex, const size_t &columnIndex)
size_t getRowCount() const
friend QTextStream & operator<<(QTextStream &stream, const Matrix &matrix)
Matrix operator+(const Matrix &other) const
double getValue(const size_t &rowIndex, const size_t &columnIndex) const
bool operator==(const Matrix &other) const
void setValue(const size_t &rowIndex, const size_t &columnIndex, const double &value)
Matrix operator/(const double &value) const
bool operator!=(const Matrix &other) const
Matrix(const size_t &rowCount=0, const size_t &columnCount=0)
size_t getColumnCount() const
const double & operator()(const size_t &rowIndex, const size_t &columnIndex) const
Matrix operator*(const Matrix &other) const
Matrix operator-(const Matrix &other) const
Matrix operator*(const double &value) const
Matrix & operator+=(const Matrix &other)
void setValues(const Cell::List &cellList)
Matrix & operator-=(const Matrix &other)
QDebug operator<<(QDebug stream, const Matrix &matrix)
QTextStream & operator>>(QTextStream &stream, Matrix &matrix)
Definition XXPopulatedAbstract.h:11
Definition XXLinalgMatrix.h:25
QList< Cell > List
Definition XXLinalgMatrix.h:30
size_t rowIndex
Definition XXLinalgMatrix.h:26
double value
Definition XXLinalgMatrix.h:28
size_t columnIndex
Definition XXLinalgMatrix.h:27