$search
The usual rectangular matrix. More...
#include <newmat.h>
Public Member Functions | |
Matrix (const Matrix &gm) | |
Matrix () | |
void | operator+= (Real f) |
void | operator+= (const Matrix &M) |
void | operator-= (Real f) |
void | operator-= (const Matrix &M) |
void | operator= (const Matrix &m) |
void | operator= (Real f) |
void | ReSize (const GeneralMatrix &A) |
virtual void | ReSize (int m, int n) |
void | swap (Matrix &gm) |
~Matrix () | |
Real | element (int, int) const |
Real & | element (int, int) |
Real | operator() (int, int) const |
Real & | operator() (int, int) |
void | operator= (const BaseMatrix &) |
void | GetCol (MatrixColX &) |
void | GetCol (MatrixRowCol &) |
void | GetRow (MatrixRowCol &) |
void | NextCol (MatrixColX &) |
void | NextCol (MatrixRowCol &) |
void | NextRow (MatrixRowCol &) |
void | RestoreCol (MatrixColX &) |
void | RestoreCol (MatrixRowCol &) |
GeneralMatrix * | MakeSolver () |
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 | trace () const |
Friends | |
Real | dotproduct (const Matrix &A, const Matrix &B) |
| |
GeneralMatrix * | Image () const |
Matrix (const BaseMatrix &) | |
Matrix (int, int) | |
void | resize (const GeneralMatrix &A) |
virtual void | resize (int, int) |
virtual void | resize_keep (int, int) |
MatrixType | type () const |
The usual rectangular matrix.
Definition at line 625 of file newmat.h.
Matrix::Matrix | ( | int | m, | |
int | n | |||
) |
Definition at line 55 of file newmat4.cpp.
Matrix::Matrix | ( | const BaseMatrix & | M | ) |
Definition at line 77 of file newmat4.cpp.
Real Matrix::element | ( | int | m, | |
int | n | |||
) | const |
Definition at line 690 of file newmat6.cpp.
Real & Matrix::element | ( | int | m, | |
int | n | |||
) |
Definition at line 682 of file newmat6.cpp.
void Matrix::GetCol | ( | MatrixColX & | mrc | ) | [virtual] |
void Matrix::GetCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
void Matrix::GetRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Implements GeneralMatrix.
Definition at line 115 of file newmat3.cpp.
GeneralMatrix * Matrix::Image | ( | ) | const [private, virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
Definition at line 991 of file newmat4.cpp.
GeneralMatrix * Matrix::MakeSolver | ( | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 35 of file newmat7.cpp.
Real Matrix::maximum2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 372 of file newmat8.cpp.
Real Matrix::maximum_absolute_value2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 356 of file newmat8.cpp.
Real Matrix::minimum2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 380 of file newmat8.cpp.
Real Matrix::minimum_absolute_value2 | ( | int & | i, | |
int & | j | |||
) | const [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 364 of file newmat8.cpp.
void Matrix::NextCol | ( | MatrixColX & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 211 of file newmat3.cpp.
void Matrix::NextCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 191 of file newmat3.cpp.
void Matrix::NextRow | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Definition at line 189 of file newmat3.cpp.
Real Matrix::operator() | ( | int | m, | |
int | n | |||
) | const |
Definition at line 146 of file newmat6.cpp.
Real & Matrix::operator() | ( | int | m, | |
int | n | |||
) |
Definition at line 34 of file newmat6.cpp.
void Matrix::operator+= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::operator+= | ( | const Matrix & | M | ) | [inline] |
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::operator-= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::operator-= | ( | const Matrix & | M | ) | [inline] |
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::operator= | ( | const Matrix & | m | ) | [inline] |
Reimplemented in SquareMatrix.
void Matrix::operator= | ( | Real | f | ) | [inline] |
Reimplemented from GeneralMatrix.
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::operator= | ( | const BaseMatrix & | X | ) |
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
Definition at line 349 of file newmat6.cpp.
void Matrix::ReSize | ( | const GeneralMatrix & | A | ) | [inline, virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::resize | ( | const GeneralMatrix & | A | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
Definition at line 339 of file newmat4.cpp.
virtual void Matrix::ReSize | ( | int | m, | |
int | n | |||
) | [inline, virtual] |
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
void Matrix::resize | ( | int | nr, | |
int | nc | |||
) | [virtual] |
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
Definition at line 289 of file newmat4.cpp.
void Matrix::resize_keep | ( | int | nr, | |
int | nc | |||
) | [virtual] |
Reimplemented in SquareMatrix, nricMatrix, RowVector, and ColumnVector.
Definition at line 432 of file newmat4.cpp.
void Matrix::RestoreCol | ( | MatrixColX & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 180 of file newmat3.cpp.
void Matrix::RestoreCol | ( | MatrixRowCol & | mrc | ) | [virtual] |
Reimplemented from GeneralMatrix.
Reimplemented in RowVector.
Definition at line 165 of file newmat3.cpp.
Real Matrix::trace | ( | ) | const [virtual] |
Reimplemented from BaseMatrix.
Definition at line 544 of file newmat8.cpp.
MatrixType Matrix::type | ( | ) | const [virtual] |
Implements GeneralMatrix.
Reimplemented in SquareMatrix, RowVector, and ColumnVector.
Definition at line 653 of file newmat4.cpp.
Definition at line 530 of file newmat8.cpp.