COMBINATORIAL_BLAS  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes
SparseVectorLocalIterator< IT, NT > Class Template Reference

#include <VecIterator.h>

Inheritance diagram for SparseVectorLocalIterator< IT, NT >:
VectorLocalIterator< IT, NT >

List of all members.

Public Member Functions

 SparseVectorLocalIterator (FullyDistSpVec< IT, NT > &in_v)
IT LocalToGlobal (IT loc_idx) const
IT GlobalToLocal (IT gbl_idx) const
bool Next ()
bool NextTo (IT loc_idx)
bool HasNext ()
IT GetLocIndex () const
NT & GetValue () const
void Del ()
void Set (const IT loc_idx, const NT &val)
void Append (const IT loc_idx, const NT &val)
- Public Member Functions inherited from VectorLocalIterator< IT, NT >
virtual ~VectorLocalIterator ()

Protected Attributes

FullyDistSpVec< IT, NT > & v
IT iter_idx

Detailed Description

template<class IT, class NT>
class SparseVectorLocalIterator< IT, NT >

Definition at line 95 of file VecIterator.h.


Constructor & Destructor Documentation

template<class IT , class NT >
SparseVectorLocalIterator< IT, NT >::SparseVectorLocalIterator ( FullyDistSpVec< IT, NT > &  in_v)
inline

Definition at line 102 of file VecIterator.h.


Member Function Documentation

template<class IT , class NT >
void SparseVectorLocalIterator< IT, NT >::Append ( const IT  loc_idx,
const NT &  val 
)
inline

Definition at line 205 of file VecIterator.h.

template<class IT , class NT >
void SparseVectorLocalIterator< IT, NT >::Del ( )
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 167 of file VecIterator.h.

template<class IT , class NT >
IT SparseVectorLocalIterator< IT, NT >::GetLocIndex ( ) const
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 154 of file VecIterator.h.

template<class IT , class NT >
NT& SparseVectorLocalIterator< IT, NT >::GetValue ( ) const
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 162 of file VecIterator.h.

template<class IT , class NT >
IT SparseVectorLocalIterator< IT, NT >::GlobalToLocal ( IT  gbl_idx) const
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 113 of file VecIterator.h.

template<class IT , class NT >
bool SparseVectorLocalIterator< IT, NT >::HasNext ( )
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 149 of file VecIterator.h.

template<class IT , class NT >
IT SparseVectorLocalIterator< IT, NT >::LocalToGlobal ( IT  loc_idx) const
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 108 of file VecIterator.h.

template<class IT , class NT >
bool SparseVectorLocalIterator< IT, NT >::Next ( )
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 120 of file VecIterator.h.

template<class IT , class NT >
bool SparseVectorLocalIterator< IT, NT >::NextTo ( IT  loc_idx)
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 129 of file VecIterator.h.

template<class IT , class NT >
void SparseVectorLocalIterator< IT, NT >::Set ( const IT  loc_idx,
const NT &  val 
)
inlinevirtual

Implements VectorLocalIterator< IT, NT >.

Definition at line 175 of file VecIterator.h.


Member Data Documentation

template<class IT , class NT >
IT SparseVectorLocalIterator< IT, NT >::iter_idx
protected

Definition at line 99 of file VecIterator.h.

template<class IT , class NT >
FullyDistSpVec<IT, NT>& SparseVectorLocalIterator< IT, NT >::v
protected

Definition at line 98 of file VecIterator.h.


The documentation for this class was generated from the following file: