AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects
Version of the Day
|
Sparse storage element type. More...
#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#). More... | |
SparseElement (index_type index, value_type value) | |
Construct with a value and index set. More... | |
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. More... | |
void | change_index (index_type index) |
Change the index. More... | |
Sparse storage element type.
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 60 of file AbstractLinAlgPack_SparseElement.hpp.
typedef T_Value AbstractLinAlgPack::SparseElement< T_Index, T_Value >::value_type |
Definition at line 66 of file AbstractLinAlgPack_SparseElement.hpp.
typedef T_Index AbstractLinAlgPack::SparseElement< T_Index, T_Value >::index_type |
Definition at line 68 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Construct uninitialized (value() == 0.0#, index() == 0#).
Definition at line 76 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Construct with a value and index set.
Definition at line 83 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Definition at line 95 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Definition at line 100 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Definition at line 105 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Initialize.
Definition at line 110 of file AbstractLinAlgPack_SparseElement.hpp.
|
inline |
Change the index.
Definition at line 115 of file AbstractLinAlgPack_SparseElement.hpp.