SparseArray< I, D > Class Template Reference

#include <sparsearray.h>

Inherited by SparseMatrix< I, D >.

Collaboration diagram for SparseArray< I, D >:
Collaboration graph
[legend]

List of all members.

Classes

class  ArrayElement

Public Member Functions

 SparseArray (I arraySize)
virtual ~SparseArray ()
virtual void reallocate (I arraySize)
virtual I size ()
ArrayElementoperator[] (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
HashMap< I, D * > * hashData

template<typename I, typename D>
class matrix::SparseArray< I, D >


Constructor & Destructor Documentation

SparseArray ( I  arraySize  )  [inline]
virtual ~SparseArray (  )  [inline, virtual]

Member Function Documentation

virtual void allocate (  )  [inline, protected, virtual]
virtual void freeData (  )  [inline, protected, virtual]
virtual long getRealSize (  )  [inline, virtual]

sets the data (row-wise).

Parameters:
_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]

Member Data Documentation

I arraySize [protected]

set of all array values

HashMap<I, D* >* hashData [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 28 14:49:09 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3