CAPD RedHom Library
|
#include <capd/redAlg/data_structures/sparse_matrix.h>
Public Types | |
typedef HashMap< IndexType, ScalarType, Hasher< IndexType > > | Row |
typedef HashMap< IndexType, ScalarType, Hasher< IndexType > > | Column |
typedef DirectMap< IndexType, Row, Hasher< IndexType > > | Rows |
typedef DirectMap< IndexType, Column, Hasher< IndexType > > | Columns |
typedef Rows::const_iterator | RowsIterator |
typedef Row::const_iterator | RowIterator |
typedef Columns::const_iterator | ColumnsIterator |
typedef Column::const_iterator | ColumnIterator |
Public Member Functions | |
SparseMatrix () | |
SparseMatrix (const SparseMatrix &other) | |
SparseMatrix (int row_count, int col_count) | |
void | resize (int r, int c) |
ScalarType | get (const IndexType &r, const IndexType &c) const |
const Rows & | rows () const |
const Columns & | cols () const |
const Row & | row (const IndexType &r) |
const Column & | col (const IndexType &c) |
void | set (const IndexType &r, const IndexType &c, const ScalarType &value) |
void | set_non_existing (const IndexType &r, const IndexType &c, const ScalarType &value) |
void | delete_row (const IndexType &r) |
void | delete_col (const IndexType &c) |
void | swap (SparseMatrix &other) |
typedef HashMap<IndexType, ScalarType, Hasher<IndexType> > data_structures::SparseMatrix< IndexType, ScalarType >::Column |
typedef Column::const_iterator data_structures::SparseMatrix< IndexType, ScalarType >::ColumnIterator |
typedef DirectMap<IndexType, Column, Hasher<IndexType> > data_structures::SparseMatrix< IndexType, ScalarType >::Columns |
typedef Columns::const_iterator data_structures::SparseMatrix< IndexType, ScalarType >::ColumnsIterator |
typedef HashMap<IndexType, ScalarType, Hasher<IndexType> > data_structures::SparseMatrix< IndexType, ScalarType >::Row |
typedef Row::const_iterator data_structures::SparseMatrix< IndexType, ScalarType >::RowIterator |
typedef DirectMap<IndexType, Row, Hasher<IndexType> > data_structures::SparseMatrix< IndexType, ScalarType >::Rows |
typedef Rows::const_iterator data_structures::SparseMatrix< IndexType, ScalarType >::RowsIterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |