Public Member Functions | Private Attributes
isam::SparseVectorIter Class Reference

#include <SparseVector.h>

List of all members.

Public Member Functions

int get () const
int get (double &val) const
double get_val () const
void next ()
 SparseVectorIter (const SparseVector &sv)
bool valid () const

Private Attributes

int index
const SparseVectors

Detailed Description

Definition at line 199 of file SparseVector.h.

Constructor & Destructor Documentation

Iterator for SparseVector.


Definition at line 207 of file SparseVector.h.

Member Function Documentation

int isam::SparseVectorIter::get ( ) const [inline]

Get current element index.

Current element index.

Definition at line 221 of file SparseVector.h.

int isam::SparseVectorIter::get ( double &  val) const [inline]

Get current element index and value.

valCurrent element value returned.
Current element index.

Definition at line 232 of file SparseVector.h.

double isam::SparseVectorIter::get_val ( ) const [inline]

Get current element value.

Current element value returned.

Definition at line 242 of file SparseVector.h.

void isam::SparseVectorIter::next ( ) [inline]

Go to next element.

Definition at line 250 of file SparseVector.h.

bool isam::SparseVectorIter::valid ( ) const [inline]

Check if current element valid, ie. if we have not reached the end yet.

True if we still have a valid entry.

Definition at line 213 of file SparseVector.h.

Member Data Documentation

Definition at line 201 of file SparseVector.h.

Definition at line 200 of file SparseVector.h.

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

Author(s): Ji Zhang
autogenerated on Mon Jan 6 2014 11:16:09