AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value > Class Template Reference

Sparse pointer element type. More...

#include <AbstractLinAlgPack_SparsePtrElement.hpp>

List of all members.

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_typevalue ()
 
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.


Detailed Description

template<class T_Indice, class T_Value>
class AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >

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 46 of file AbstractLinAlgPack_SparsePtrElement.hpp.


Member Typedef Documentation

template<class T_Indice, class T_Value>
typedef T_Value AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value_type

Definition at line 52 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice, class T_Value>
typedef T_Indice AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice_type

Definition at line 54 of file AbstractLinAlgPack_SparsePtrElement.hpp.


Constructor & Destructor Documentation

template<class T_Indice, class T_Value>
AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::SparsePtrElement (  )  [inline]

Construct uninitialized (poiner to value set to zero) (indice() == 0#).

Definition at line 62 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice, class T_Value>
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 66 of file AbstractLinAlgPack_SparsePtrElement.hpp.


Member Function Documentation

template<class T_Indice, class T_Value>
value_type& AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value (  )  [inline]

Definition at line 75 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice, class T_Value>
value_type AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value (  )  const [inline]

Definition at line 80 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice, class T_Value>
indice_type AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice (  )  const [inline]

Definition at line 85 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice, class T_Value>
void AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::change_indice ( indice_type  indice  )  [inline]

Change the indice.

Definition at line 90 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice, class T_Value>
void AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::change_value_ptr ( value_type pvalue  )  [inline]

Change the element pointer.

Definition at line 95 of file AbstractLinAlgPack_SparsePtrElement.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:50:53 2010 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.4.7