#include <sparsearray.h>
Inherited by SparseMatrix.
Inheritance diagram for SparseArray:


Public Member Functions | |
| SparseArray (I arraySize) | |
| virtual | ~SparseArray () |
| virtual void | reallocate (I arraySize) |
| virtual I | size () |
| ArrayElement & | operator[] (const I index) |
| virtual long | getRealSize () |
| sets the data (row-wise). | |
Protected Member Functions | |
| virtual void | allocate () |
| virtual void | freeData () |
Protected Attributes | |
| ArrayElement | elementDummy |
| I | arraySize |
| set of all array values | |
| __gnu_cxx::hash_map< I, D * > * | hashData |
Classes | |
| class | ArrayElement |
| SparseArray | ( | I | arraySize | ) | [inline] |
| virtual ~SparseArray | ( | ) | [inline, virtual] |
| virtual void allocate | ( | ) | [inline, protected, virtual] |
| virtual void freeData | ( | ) | [inline, protected, virtual] |
| virtual long getRealSize | ( | ) | [inline, virtual] |
sets the data (row-wise).
| _data | if null then matrix elements are set to zero otherwise the field MUST have the length should be getSize() |
| ArrayElement& operator[] | ( | const I | index | ) | [inline] |
| virtual void reallocate | ( | I | arraySize | ) | [inline, virtual] |
| virtual I size | ( | ) | [inline, virtual] |
ArrayElement elementDummy [protected] |
1.4.7