|
| Matrix () |
| constructor More...
|
|
| Matrix (Matrix const &m) |
| constructor More...
|
|
| Matrix (size_t r, size_t c, Entry const &e) |
| constructor More...
|
|
| ~Matrix () |
| destructor More...
|
|
Matrix & | copyFrom (Matrix const &m) |
| copy More...
|
|
Matrix & | referenceFrom (Matrix const &m) |
| reference More...
|
|
void | reset (size_t r, size_t c, Entry const &e) |
| reset the size of the matrix to r x c with entry all be e More...
|
|
bool | valid () const |
| Return whether it is a valid matrix. More...
|
|
size_t | rows () const |
| Return number of rows. More...
|
|
size_t | cols () const |
| Return number of cols. More...
|
|
size_t | size () const |
| Return number of rows times number of cols. More...
|
|
size_t | rows (size_t r, Entry const &e) |
| resize the matrix such that number of rows become r. More...
|
|
size_t | cols (size_t c, Entry const &e) |
| resize the matrix such that number of cols become c More...
|
|
size_t | size (size_t r, size_t c, Entry const &e) |
| resize More...
|
|
Entry | entry (size_t r, size_t c) const |
| Access the entry at r x c. More...
|
|
Entry | entry (size_t r, size_t c, Entry const &e) |
| Change the entry at r x c. More...
|
|
EntryRef | entryGet (size_t r, size_t c) |
| Get the entry at r x c. More...
|
|
void | entries (ssize_t rFirst, ssize_t rLast, ssize_t cFirst, ssize_t cLast, Entry const &e) |
| Change the entries from rFirst x cFirst to rLast x cLast. More...
|
|
Matrix | subMatrix (size_t rFirst, size_t rLast, size_t cFirst, size_t cLast) const |
| Return a rLast-rFirst+1 x cLast-cFirst+1 matrix. More...
|
|
Matrix | row (size_t r) const |
| Return the r -th row. More...
|
|
Matrix | col (size_t c) const |
| Return the c -th column. More...
|
|
Matrix | positive () const |
| return +(*this) More...
|
|
Matrix | negative () const |
| return -(*this) More...
|
|
Matrix | add (Matrix const &m) const |
| return (*this) + m. More...
|
|
Matrix | sub (Matrix const &m) const |
| return (*this) - m. More...
|
|
Matrix | mul (Matrix const &m) const |
| return (*this) times m. More...
|
|
Matrix | mul (Entry const &s) const |
| return (*this) times s. s is a scalar More...
|
|
Matrix | div (Entry const &s) const |
| return (*this) / s. s is a scalar More...
|
|
Matrix | identity () const |
| Return a identity matrix with size equal to itself. More...
|
|
Matrix & | identitied () |
| Let itself be an identity matrix. More...
|
|
Matrix & | diagonaled () |
| Let itself be an diagonal form of original itself. More...
|
|
Matrix | diagonal () const |
| Return a matrix which is a diangonal form of me. More...
|
|
Matrix | inverse () const |
| Return a matrix which is an inverse matrix of (*this) More...
|
|
Matrix & | inversed () |
| let itself become itself's inverse matrix More...
|
|
Matrix | transpose () const |
| return itself's transpose matrix More...
|
|
Matrix & | transposed () |
| Let itself become itself's transpose matrix. More...
|
|
Matrix | triangular () const |
| return a matrix which is the triangular form of (*this) More...
|
|
Matrix & | triangulared () |
| triangluar itself More...
|
|
Matrix & | operator= (Matrix const &m) |
| same as copyFrom More...
|
|
Entry | operator() (size_t r, size_t c) const |
| same as entry(r,c) More...
|
|
Entry | operator() (size_t r, size_t c, Entry const &e) |
| same as entry(r,c,e) More...
|
|
Matrix | operator+ () const |
| same as positive() More...
|
|
Matrix | operator- () const |
| same as negative() More...
|
|
Matrix | operator+ (Matrix const &m) const |
| same as add(m) More...
|
|
Matrix | operator- (Matrix const &m) const |
| same as sub(m) More...
|
|
Matrix | operator* (Matrix const &m) const |
| same as mul(m) More...
|
|
Matrix | operator* (Entry const &s) const |
| same as mul(m) More...
|
|
Matrix | operator/ (Entry const &s) const |
| same as div(s) More...
|
|
template<class Entry>
class meow::Matrix< Entry >
matrix
- Author
- cat_leopard
Definition at line 18 of file Matrix.h.