The usual rectangular matrix. More...
#include <Matrix.h>
Public Member Functions | |
Real & | element (int, int) |
Real | element (int, int) const |
Matrix () | |
Matrix (int, int) | |
Matrix (const BaseMatrix &) | |
Matrix (const Matrix &gm) | |
Real | maximum2 (int &i, int &j) const |
Real | maximum_absolute_value2 (int &i, int &j) const |
Real | minimum2 (int &i, int &j) const |
Real | minimum_absolute_value2 (int &i, int &j) const |
Real & | operator() (int, int) |
Real | operator() (int, int) const |
void | operator+= (const Matrix &M) |
void | operator+= (Real f) |
void | operator-= (const Matrix &M) |
void | operator-= (Real f) |
void | operator= (const BaseMatrix &) |
void | operator= (Real f) |
void | operator= (const Matrix &m) |
virtual void | resize (int, int) |
virtual void | ReSize (int m, int n) |
void | resize (const GeneralMatrix &A) |
void | ReSize (const GeneralMatrix &A) |
virtual void | resize_keep (int, int) |
void | swap (Matrix &gm) |
Real | trace () const |
MatrixType | type () const |
~Matrix () | |
GeneralMatrix * | MakeSolver () |
void | GetRow (MatrixRowCol &) |
void | GetCol (MatrixRowCol &) |
void | GetCol (MatrixColX &) |
void | RestoreCol (MatrixRowCol &) |
void | RestoreCol (MatrixColX &) |
void | NextRow (MatrixRowCol &) |
void | NextCol (MatrixRowCol &) |
void | NextCol (MatrixColX &) |
Private Member Functions | |
GeneralMatrix * | Image () const |
Friends | |
Real | dotproduct (const Matrix &A, const Matrix &B) |
The usual rectangular matrix.
Definition at line 6 of file NewMat/Matrix.h.
Matrix::Matrix | ( | ) | [inline] |
Definition at line 10 of file NewMat/Matrix.h.
Matrix::~Matrix | ( | ) | [inline] |
Definition at line 11 of file NewMat/Matrix.h.
Matrix::Matrix | ( | int | m, |
int | n | ||
) |
Definition at line 723 of file NewMatExhaustive.cpp.
Matrix::Matrix | ( | const BaseMatrix & | M | ) |
Definition at line 745 of file NewMatExhaustive.cpp.
Matrix::Matrix | ( | const Matrix & | gm | ) | [inline] |
Definition at line 29 of file NewMat/Matrix.h.
Real & Matrix::element | ( | int | m, |
int | n | ||
) |
Definition at line 3276 of file NewMatExhaustive.cpp.
Real Matrix::element | ( | int | m, |
int | n | ||
) | const |
Definition at line 3284 of file NewMatExhaustive.cpp.
void Matrix::GetCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Reimplemented in RowVector.
Definition at line 5740 of file NewMatExhaustive.cpp.
void Matrix::GetCol | ( | MatrixColX & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Reimplemented in RowVector.
Definition at line 5768 of file NewMatExhaustive.cpp.
void Matrix::GetRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Definition at line 5732 of file NewMatExhaustive.cpp.
GeneralMatrix * Matrix::Image | ( | ) | const [private, virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in ColumnVector, nricMatrix, SquareMatrix, and RowVector.
Definition at line 1659 of file NewMatExhaustive.cpp.
GeneralMatrix * Matrix::MakeSolver | ( | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 4625 of file NewMatExhaustive.cpp.
Real Matrix::maximum2 | ( | int & | i, |
int & | j | ||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 4134 of file NewMatExhaustive.cpp.
Real Matrix::maximum_absolute_value2 | ( | int & | i, |
int & | j | ||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 4118 of file NewMatExhaustive.cpp.
Real Matrix::minimum2 | ( | int & | i, |
int & | j | ||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 4142 of file NewMatExhaustive.cpp.
Real Matrix::minimum_absolute_value2 | ( | int & | i, |
int & | j | ||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 4126 of file NewMatExhaustive.cpp.
void Matrix::NextCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 5808 of file NewMatExhaustive.cpp.
void Matrix::NextCol | ( | MatrixColX & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 5828 of file NewMatExhaustive.cpp.
void Matrix::NextRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 5806 of file NewMatExhaustive.cpp.
Real & Matrix::operator() | ( | int | m, |
int | n | ||
) |
Definition at line 2628 of file NewMatExhaustive.cpp.
Real Matrix::operator() | ( | int | m, |
int | n | ||
) | const |
Definition at line 2740 of file NewMatExhaustive.cpp.
void Matrix::operator+= | ( | const Matrix & | M | ) | [inline] |
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 50 of file NewMat/Matrix.h.
void Matrix::operator+= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 52 of file NewMat/Matrix.h.
void Matrix::operator-= | ( | const Matrix & | M | ) | [inline] |
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 51 of file NewMat/Matrix.h.
void Matrix::operator-= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 53 of file NewMat/Matrix.h.
void Matrix::operator= | ( | const BaseMatrix & | X | ) |
Reimplemented in ColumnVector, nricMatrix, RowVector, and SquareMatrix.
Definition at line 2943 of file NewMatExhaustive.cpp.
void Matrix::operator= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in ColumnVector, nricMatrix, RowVector, and SquareMatrix.
Definition at line 15 of file NewMat/Matrix.h.
void Matrix::operator= | ( | const Matrix & | m | ) | [inline] |
Reimplemented in SquareMatrix.
Definition at line 16 of file NewMat/Matrix.h.
void Matrix::resize | ( | int | nr, |
int | nc | ||
) | [virtual] |
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 957 of file NewMatExhaustive.cpp.
virtual void Matrix::ReSize | ( | int | m, |
int | n | ||
) | [inline, virtual] |
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 43 of file NewMat/Matrix.h.
void Matrix::resize | ( | const GeneralMatrix & | A | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 1007 of file NewMatExhaustive.cpp.
void Matrix::ReSize | ( | const GeneralMatrix & | A | ) | [inline, virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 45 of file NewMat/Matrix.h.
void Matrix::resize_keep | ( | int | nr, |
int | nc | ||
) | [virtual] |
Reimplemented in ColumnVector, RowVector, nricMatrix, and SquareMatrix.
Definition at line 1100 of file NewMatExhaustive.cpp.
void Matrix::RestoreCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 5782 of file NewMatExhaustive.cpp.
void Matrix::RestoreCol | ( | MatrixColX & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 5797 of file NewMatExhaustive.cpp.
void Matrix::swap | ( | Matrix & | gm | ) | [inline] |
Definition at line 54 of file NewMat/Matrix.h.
Real Matrix::trace | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 4306 of file NewMatExhaustive.cpp.
MatrixType Matrix::type | ( | ) | const [virtual] |
Implements GeneralMatrix.
Reimplemented in ColumnVector, RowVector, and SquareMatrix.
Definition at line 1321 of file NewMatExhaustive.cpp.
Real dotproduct | ( | const Matrix & | A, |
const Matrix & | B | ||
) | [friend] |
Definition at line 4292 of file NewMatExhaustive.cpp.