Represents a sparse vector based on std::map<unsigned int, NumericT> More...
#include <sparse_vector.hpp>
| Public Types | |
| typedef std::map< unsigned int, NumericT >::iterator | iterator | 
| typedef std::map< unsigned int, NumericT >::const_iterator | const_iterator | 
| Public Member Functions | |
| sparse_vector () | |
| NumericT & | operator[] (unsigned int ind) | 
| Set the index of the vector in the original matrix.  More... | |
| void | clear () | 
| const_iterator | find (unsigned int var) const | 
| iterator | find (unsigned int var) | 
| const_iterator | begin () const | 
| iterator | begin () | 
| const_iterator | end () const | 
| iterator | end () | 
Represents a sparse vector based on std::map<unsigned int, NumericT>
Definition at line 50 of file sparse_vector.hpp.
| typedef std::map<unsigned int, NumericT>::const_iterator viennacl::linalg::detail::spai::sparse_vector< NumericT >::const_iterator | 
Definition at line 54 of file sparse_vector.hpp.
| typedef std::map<unsigned int, NumericT>::iterator viennacl::linalg::detail::spai::sparse_vector< NumericT >::iterator | 
Definition at line 53 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 56 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 70 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 71 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 65 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 72 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 73 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 67 of file sparse_vector.hpp.
| 
 | inline | 
Definition at line 68 of file sparse_vector.hpp.
| 
 | inline | 
Set the index of the vector in the original matrix.
May only be called once.
Definition at line 63 of file sparse_vector.hpp.