|
| ListMatrix () |
| create as empty
|
|
| ListMatrix (Int r, Int c) |
| create matrix with r rows and c columns, initialize all elements to 0
|
|
template<typename Iterator , typename = std::enable_if_t<fits_as_input_iterator<Iterator>::value>> |
| ListMatrix (Int r, Int c, Iterator &&src) |
|
ListMatrix & | operator= (const ListMatrix &other) |
|
void | swap (ListMatrix &M) |
|
void | resize (Int r, Int c) |
| Resize to new dimensions, added elements initialized with default constructor.
|
|
void | clear () |
| Truncate to 0x0 matrix.
|
|
Int | rows () const |
| the number of rows of the matrix
|
|
Int | cols () const |
| the number of columns of the matrix
|
|
template<typename TVector2 > |
row_list::iterator | insert_row (const typename row_list::iterator &where, const GenericVector< TVector2 > &v) |
| Insert a new row at the given position: before the row pointed to by where.
|
|
void | delete_row (const typename row_list::iterator &where) |
| Delete the row pointed to by where. Be aware that the iterator becomes void after the removal unless rescued in good time (with postincrement or postdecrement).
|
|
void | swap (GenericMatrix< TMatrix2, E > &m) |
|
void | fill (const E2 &x) |
|
top_type & | negate () |
| negate elements in place
|
|
std::enable_if< is_expandable_by< TMatrix2 >), top_type & >::type | operator/= (const GenericMatrix< TMatrix2 > &m) |
| append rows of another matrix
|
|
std::enable_if< is_expandable_by< TVector >), top_type & >::type | operator/= (const GenericVector< TVector > &v) |
| append a vector as a row
|
|
std::enable_if_t< is_expandable_by< TMatrix2 >), top_type & > | operator|= (const GenericMatrix< TMatrix2 > &m) |
| append columns of another matrix
|
|
std::enable_if_t< is_expandable_by< TVector >), top_type & > | operator|= (const GenericVector< TVector > &v) |
| append a vector as a column
|
|
IndexedSlice< masquerade< ConcatRows, const typename Unwary< TMatrix >::type & >, const series > | diagonal (Int i=0) const & |
|
IndexedSlice< masquerade< ConcatRows, const typename Unwary< TMatrix >::type & >, const series > | anti_diagonal (Int i=0) const & |
|
template<typename TVector>
class pm::ListMatrix< TVector >
List of row vectors.
A list of row vectors. The implementation is based on std::list. It can be parameterized with any persistent vector type.