36 double get (
int row,
int col)
const;
48 QVector<double>
operator* (
const QVector<double> other)
const;
54 void set (
int row,
int col,
double value);
65 void addRowToAnotherWithScaling (
int rowFrom,
68 int fold2dIndexes (
int row,
int col)
const;
69 void initialize (
int rows,
71 Matrix inverseCramersRule ()
const;
72 Matrix inverseGaussianElimination ()
const;
73 unsigned int leadingZeros (
int row)
const;
74 void normalizeRow (
int rowToNormalize,
76 void switchRows (
int row1,
81 QVector<double> m_vector;
Matrix inverse() const
Return the inverse of this matrix.
Matrix operator*(const Matrix &other) const
Multiplication operator with a matrix.
Matrix transpose() const
Return the transpose of the current matrix.
Matrix & operator=(const Matrix &matrix)
Assignment operator.
Matrix minorReduced(int rowOmit, int colOmit) const
Return minor matrix which is the original with the specified row and column omitted. The name 'minor' is a reserved word.
double determinant() const
Return the determinant of this matrix.
int cols() const
Width of matrix.
Matrix class that supports arbitrary NxN size.
int rows() const
Height of matrix.
QString toString() const
Dump matrix to a string.