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 254 of file amg_base.hpp.
| typedef InternalType::const_iterator viennacl::linalg::detail::amg::amg_sparsevector< NumericT >::const_iterator |
Definition at line 271 of file amg_base.hpp.
| typedef amg_sparsevector_iterator<InternalType> viennacl::linalg::detail::amg::amg_sparsevector< NumericT >::iterator |
Definition at line 270 of file amg_base.hpp.
| typedef NumericT viennacl::linalg::detail::amg::amg_sparsevector< NumericT >::value_type |
Definition at line 257 of file amg_base.hpp.
|
inline |
|
inline |
Definition at line 290 of file amg_base.hpp.
|
inline |
Definition at line 309 of file amg_base.hpp.
|
inline |
Definition at line 349 of file amg_base.hpp.
|
inline |
Definition at line 350 of file amg_base.hpp.
|
inline |
Definition at line 285 of file amg_base.hpp.
|
inline |
Definition at line 351 of file amg_base.hpp.
|
inline |
Definition at line 352 of file amg_base.hpp.
|
inline |
Definition at line 283 of file amg_base.hpp.
|
inline |
Definition at line 355 of file amg_base.hpp.
|
inline |
Definition at line 358 of file amg_base.hpp.
|
inline |
Definition at line 327 of file amg_base.hpp.
|
inline |
Definition at line 338 of file amg_base.hpp.
|
inline |
Definition at line 287 of file amg_base.hpp.
|
inline |
Definition at line 324 of file amg_base.hpp.
|
inline |
Definition at line 279 of file amg_base.hpp.
|
inline |
Definition at line 280 of file amg_base.hpp.