SparseVector Class Reference
#include <matrix.h>
Collaboration diagram for SparseVector:
Public Member Functions | |
SparseVector () | |
~SparseVector () | |
void | addElement (const CId Index, const CDouble Value) |
SparseVectorElement * | getElement (const CId Index) |
SparseVectorElement * | getFirstElement () |
void | removeFirstElement () |
Private Attributes | |
SparseVectorElement * | Root |
Detailed Description
Constructor & Destructor Documentation
SparseVector::SparseVector | ( | ) | [inline] |
References Root.
SparseVector::~SparseVector | ( | ) |
SparseVector destructor
References SparseVectorElement::Next, removeFirstElement(), and Root.
Here is the call graph for this function:
Member Function Documentation
References SparseVectorElement::Index, SparseVectorElement::Next, and Root.
SparseVectorElement * SparseVector::getElement | ( | const CId | Index | ) |
References SparseVectorElement::Next, and Root.
SparseVectorElement* SparseVector::getFirstElement | ( | ) | [inline] |
References SparseVectorElement::Next, and Root.
void SparseVector::removeFirstElement | ( | ) |
SparseVector::removeFirstElement
References SparseVectorElement::Next, and Root.
Referenced by ~SparseVector().
Member Data Documentation
SparseVectorElement* SparseVector::Root [private] |
Referenced by addElement(), getElement(), getFirstElement(), removeFirstElement(), SparseVector(), and ~SparseVector().
The documentation for this class was generated from the following files: