Adapts a constant sparse matrix type made up from std::vector<std::map<SizeT, NumericT> > to basic ublas-compatibility. More...
#include <adapter.hpp>
Public Types | |
typedef const_sparse_matrix_adapted_iterator< NumericT, SizeT, true, true > | const_iterator1 |
typedef const_sparse_matrix_adapted_iterator< NumericT, SizeT, false, true > | const_iterator2 |
typedef const_sparse_matrix_adapted_iterator< NumericT, SizeT, true, false > | const_reverse_iterator1 |
typedef NumericT | value_type |
typedef vcl_size_t | size_type |
Public Member Functions | |
const_sparse_matrix_adapter (std::vector< std::map< SizeT, NumericT > > const &mat) | |
const_sparse_matrix_adapter (std::vector< std::map< SizeT, NumericT > > const &mat, size_type num_rows, size_type num_cols) | |
size_type | size1 () const |
size_type | size2 () const |
const_iterator1 | begin1 () const |
const_iterator1 | end1 () const |
const_reverse_iterator1 | rbegin1 () const |
const_reverse_iterator1 | rend1 () const |
const_iterator2 | begin2 () const |
const_iterator2 | end2 () const |
NumericT | operator() (SizeT i, SizeT j) const |
Adapts a constant sparse matrix type made up from std::vector<std::map<SizeT, NumericT> > to basic ublas-compatibility.
NumericT | either float or double |
Definition at line 183 of file adapter.hpp.
typedef const_sparse_matrix_adapted_iterator<NumericT, SizeT, true, true> viennacl::tools::const_sparse_matrix_adapter< NumericT, SizeT >::const_iterator1 |
Definition at line 186 of file adapter.hpp.
typedef const_sparse_matrix_adapted_iterator<NumericT, SizeT, false, true> viennacl::tools::const_sparse_matrix_adapter< NumericT, SizeT >::const_iterator2 |
Definition at line 187 of file adapter.hpp.
typedef const_sparse_matrix_adapted_iterator<NumericT, SizeT, true, false> viennacl::tools::const_sparse_matrix_adapter< NumericT, SizeT >::const_reverse_iterator1 |
Definition at line 189 of file adapter.hpp.
typedef vcl_size_t viennacl::tools::const_sparse_matrix_adapter< NumericT, SizeT >::size_type |
Definition at line 191 of file adapter.hpp.
typedef NumericT viennacl::tools::const_sparse_matrix_adapter< NumericT, SizeT >::value_type |
Definition at line 190 of file adapter.hpp.
|
inline |
Definition at line 193 of file adapter.hpp.
|
inline |
Definition at line 196 of file adapter.hpp.
|
inline |
Definition at line 202 of file adapter.hpp.
|
inline |
Definition at line 208 of file adapter.hpp.
|
inline |
Definition at line 203 of file adapter.hpp.
|
inline |
Definition at line 209 of file adapter.hpp.
|
inline |
Definition at line 211 of file adapter.hpp.
|
inline |
Definition at line 205 of file adapter.hpp.
|
inline |
Definition at line 206 of file adapter.hpp.
|
inline |
Definition at line 199 of file adapter.hpp.
|
inline |
Definition at line 200 of file adapter.hpp.