Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SparseMatrix< I, D > Class Template Reference

sparse matrix which uses an HashTable first (fast implemented) version More...

#include <sparsematrix.h>

Inheritance diagram for SparseMatrix< I, D >:
Collaboration diagram for SparseMatrix< I, D >:

Public Member Functions

 SparseMatrix (I m, I n)
 
virtual ~SparseMatrix ()
 
virtual D val (I row, I column) const
 
virtual Dval (I row, I column)
 
virtual I getM ()
 
virtual I getN ()
 
- Public Member Functions inherited from SparseArray< I, D >
 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). More...
 

Protected Attributes

I m
 
I n
 
- Protected Attributes inherited from SparseArray< I, D >
ArrayElement elementDummy
 
I arraySize
 set of all array values More...
 
HashMap< I, D * > * hashData
 

Additional Inherited Members

- Protected Member Functions inherited from SparseArray< I, D >
virtual void allocate ()
 
virtual void freeData ()
 

Detailed Description

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

sparse matrix which uses an HashTable first (fast implemented) version

Author
guettler

Constructor & Destructor Documentation

SparseMatrix ( I  m,
I  n 
)
inline
virtual ~SparseMatrix ( )
inlinevirtual

Member Function Documentation

virtual I getM ( )
inlinevirtual
virtual I getN ( )
inlinevirtual
virtual D val ( I  row,
I  column 
) const
inlinevirtual
virtual D& val ( I  row,
I  column 
)
inlinevirtual

Member Data Documentation

I m
protected
I n
protected

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