|
AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects
Version of the Day
|
Sparse pointer element type. More...
#include <AbstractLinAlgPack_SparsePtrElement.hpp>
Public Typedefs. | |
| typedef T_Value | value_type |
| | |
| typedef T_Indice | indice_type |
| | |
Constructors | |
| SparsePtrElement () | |
| Construct uninitialized (poiner to value set to zero) (indice() == 0#). | |
| SparsePtrElement (indice_type indice, value_type *pvalue) | |
| Construct with a pointer to the value and indice set. | |
Value and indice access | |
| value_type & | value () |
| | |
| value_type | value () const |
| | |
| indice_type | indice () const |
| | |
| void | change_indice (indice_type indice) |
| Change the indice. | |
| void | change_value_ptr (value_type *pvalue) |
| Change the element pointer. | |
Sparse pointer element type.
This class abstracts a sparse element of a templated type. It is ment to be used in a sparse vector. It has a pointer to the value of the element.
The default assignment operator and copy constructor are allowed.
Definition at line 59 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| typedef T_Value AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value_type |
Definition at line 65 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| typedef T_Indice AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice_type |
Definition at line 67 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::SparsePtrElement | ( | ) | [inline] |
Construct uninitialized (poiner to value set to zero) (indice() == 0#).
Definition at line 75 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::SparsePtrElement | ( | indice_type | indice, |
| value_type * | pvalue | ||
| ) | [inline] |
Construct with a pointer to the value and indice set.
Definition at line 79 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| value_type& AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value | ( | ) | [inline] |
Definition at line 88 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| value_type AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value | ( | ) | const [inline] |
Definition at line 93 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| indice_type AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice | ( | ) | const [inline] |
Definition at line 98 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| void AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::change_indice | ( | indice_type | indice | ) | [inline] |
Change the indice.
Definition at line 103 of file AbstractLinAlgPack_SparsePtrElement.hpp.
| void AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::change_value_ptr | ( | value_type * | pvalue | ) | [inline] |
Change the element pointer.
Definition at line 108 of file AbstractLinAlgPack_SparsePtrElement.hpp.
1.7.6.1