#include <AbstractLinAlgPack_SparseElement.hpp>
Public Typedefs. | |
| typedef T_Value | value_type |
| | |
| typedef T_Index | index_type |
| | |
Constructors | |
| SparseElement () | |
| Construct uninitialized (value() == 0.0#, index() == 0#). | |
| SparseElement (index_type index, value_type value) | |
| Construct with a value and index set. | |
Value and index access | |
| value_type & | value () |
| | |
| const value_type & | value () const |
| | |
| const index_type & | index () const |
| | |
| void | initialize (index_type index, value_type value) |
| Initialize. | |
| void | change_index (index_type index) |
| Change the index. | |
This class abstracts a sparse element of a templated type. It is ment to be used in a sparse vector. Objects of this type are designed so that the size of the object is the same at least two value_type objects.
The default assignment operator and copy constructor are allowed.
Definition at line 47 of file AbstractLinAlgPack_SparseElement.hpp.
|
|||||
|
Definition at line 53 of file AbstractLinAlgPack_SparseElement.hpp. |
|
|||||
|
Definition at line 55 of file AbstractLinAlgPack_SparseElement.hpp. |
|
|||||||||
|
Construct uninitialized (value() == 0.0#, index() == 0#).
Definition at line 63 of file AbstractLinAlgPack_SparseElement.hpp. |
|
||||||||||||||||
|
Construct with a value and index set.
Definition at line 70 of file AbstractLinAlgPack_SparseElement.hpp. |
|
|||||||||
|
Definition at line 82 of file AbstractLinAlgPack_SparseElement.hpp. |
|
|||||||||
|
Definition at line 87 of file AbstractLinAlgPack_SparseElement.hpp. |
|
|||||||||
|
Definition at line 92 of file AbstractLinAlgPack_SparseElement.hpp. |
|
||||||||||||||||
|
Initialize.
Definition at line 97 of file AbstractLinAlgPack_SparseElement.hpp. |
|
||||||||||
|
Change the index.
Definition at line 102 of file AbstractLinAlgPack_SparseElement.hpp. |
1.3.9.1