#include <Atlas.h>
|
| Matrix_base () |
|
| Matrix_base (size_t m, size_t n) |
|
| Matrix_base (size_t m, size_t n, const C &c) |
|
| Matrix_base (const std::vector< Vector< C > > &, size_t n_rows) |
| This constructor constructs a matrix from a list of vectors, column-wise. It is assumed that all elements of |b| (possibly none) have size |n_rows|. More...
|
|
template<typename I > |
| Matrix_base (I begin, I end, size_t n_rows, tags::IteratorTag) |
|
void | swap (Matrix_base &) |
|
size_t | numRows () const |
|
size_t | numColumns () const |
|
size_t | rowSize () const |
|
size_t | columnSize () const |
|
const C & | operator() (size_t i, size_t j) const |
|
void | get_row (Vector< C > &, size_t) const |
|
void | get_column (Vector< C > &, size_t) const |
|
Vector< C > | row (size_t i) const |
|
std::vector< Vector< C > > | rows () const |
|
Vector< C > | column (size_t j) const |
|
std::vector< Vector< C > > | columns () const |
|
bool | operator== (const Matrix_base< C > &) const |
|
bool | operator!= (const Matrix_base< C > &m) const |
|
bool | is_zero () const |
|
bool | isEmpty () const |
|
C & | operator() (size_t i, size_t j) |
|
void | set_row (size_t, const Vector< C > &) |
| Puts v in the i-th row of the matrix. More...
|
|
void | set_column (size_t, const Vector< C > &) |
| Puts v in the j-th column of the matrix. More...
|
|
void | add_row (const Vector< C > &) |
|
void | add_column (const Vector< C > &) |
|
void | eraseColumn (size_t) |
|
void | eraseRow (size_t) |
|
void | reset () |
|
|
const C * | at (size_t i, size_t j) const |
|
C * | at (size_t i, size_t j) |
|
This constructor constructs a matrix from a list of vectors, column-wise. It is assumed that all elements of |b| (possibly none) have size |n_rows|.
template<typename C >
template<typename I >
Here I is a random access iterator type whose value type should be Vector<C> or some other type that can be subscripted giving a value of type C. We read the columns of the matrix from the iterator.
All the vectors obtained from the iterators should have size |n_rows|
Returns the list of column vectors of m.
Removes column |j| altogether, shifting remaining entries to proper place
Erases row i from the matrix.
Puts the i-th row of the matrix in v.
Returns the list of row vectors of m.
Puts v in the j-th column of the matrix.
Puts v in the i-th row of the matrix.
Swaps m with the current matrix.
The documentation for this class was generated from the following files:
- /home/ran/atlas_project/latest_branch_07182016/sources/Atlas.h
- /home/ran/atlas_project/latest_branch_07182016/sources/utilities/matrix.h
- /home/ran/atlas_project/latest_branch_07182016/sources/utilities/matrix.cpp