Helper struct for holding a sparse vector in linear memory. For internal use only. More...
#include <ilut.hpp>
Public Member Functions | |
ilut_sparse_vector (vcl_size_t alloc_size=0) | |
void | resize_if_bigger (vcl_size_t s) |
Public Attributes | |
vcl_size_t | size_ |
std::vector< unsigned int > | col_indices_ |
std::vector< NumericT > | elements_ |
Helper struct for holding a sparse vector in linear memory. For internal use only.
Unfortunately, the 'naive' implementation using a std::map<> is almost always too slow.
|
inline |
|
inline |
std::vector<unsigned int> viennacl::linalg::detail::ilut_sparse_vector< NumericT >::col_indices_ |
std::vector<NumericT> viennacl::linalg::detail::ilut_sparse_vector< NumericT >::elements_ |
vcl_size_t viennacl::linalg::detail::ilut_sparse_vector< NumericT >::size_ |