A class for the sparse vector type. More...
#include <amg_base.hpp>
Public Types | |
| typedef NumericT | value_type |
| typedef amg_sparsevector_iterator < InternalType > | iterator |
| typedef InternalType::const_iterator | const_iterator |
Public Member Functions | |
| amg_sparsevector (unsigned int size=0) | |
| The constructor. More... | |
| void | resize (unsigned int size) |
| unsigned int | size () const |
| unsigned int | internal_size () const |
| void | clear () |
| void | remove (unsigned int i) |
| void | add (unsigned int i, NumericT s) |
| template<typename IteratorT > | |
| void | addscalar (IteratorT &iter, unsigned int i, unsigned int, NumericT s) |
| template<typename IteratorT > | |
| void | removescalar (IteratorT &iter, unsigned int) |
| NonzeroScalarType | operator[] (unsigned int i) |
| NumericT | operator[] (unsigned int i) const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| bool | isnonzero (unsigned int i) const |
| operator boost::numeric::ublas::vector< NumericT > (void) | |
A class for the sparse vector type.
Definition at line 260 of file amg_base.hpp.
| typedef InternalType::const_iterator viennacl::linalg::detail::amg::amg_sparsevector< NumericT >::const_iterator |
Definition at line 283 of file amg_base.hpp.
| typedef amg_sparsevector_iterator<InternalType> viennacl::linalg::detail::amg::amg_sparsevector< NumericT >::iterator |
Definition at line 282 of file amg_base.hpp.
| typedef NumericT viennacl::linalg::detail::amg::amg_sparsevector< NumericT >::value_type |
Definition at line 263 of file amg_base.hpp.
|
inline |
|
inline |
Definition at line 302 of file amg_base.hpp.
|
inline |
Definition at line 321 of file amg_base.hpp.
|
inline |
Definition at line 361 of file amg_base.hpp.
|
inline |
Definition at line 362 of file amg_base.hpp.
|
inline |
Definition at line 297 of file amg_base.hpp.
|
inline |
Definition at line 363 of file amg_base.hpp.
|
inline |
Definition at line 364 of file amg_base.hpp.
|
inline |
Definition at line 295 of file amg_base.hpp.
|
inline |
Definition at line 367 of file amg_base.hpp.
|
inline |
Definition at line 370 of file amg_base.hpp.
|
inline |
Definition at line 339 of file amg_base.hpp.
|
inline |
Definition at line 350 of file amg_base.hpp.
|
inline |
Definition at line 299 of file amg_base.hpp.
|
inline |
Definition at line 336 of file amg_base.hpp.
|
inline |
Definition at line 291 of file amg_base.hpp.
|
inline |
Definition at line 292 of file amg_base.hpp.