Robot Simulator of the Robotics Group for Self-Organization of Control: SparseMatrix< I, D > Class Template Reference

# SparseMatrix< I, D > Class Template Reference

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

`#include <sparsematrix.h>`

Inherits matrix::SparseArray< I, D >.

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

List of all members.

## Public Member Functions
| SparseMatrix (I m, I n)
virtual | ~SparseMatrix ()
virtual D | val (I row, I column) const
virtual D & | val (I row, I column)
virtual I | getM ()
virtual I | getN ()
## Protected Attributes
I | m
I | n

## 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 | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual I getM | ( |  | ) | `[inline, virtual]`

virtual I getN | ( |  | ) | `[inline, virtual]`

virtual D& val | ( | I | row,
|  | I | column |
| ) |  |  | `[inline, virtual]`

virtual D val | ( | I | row,
|  | I | column |
| ) |  |  | const`[inline, virtual]`

## Member Data Documentation

I m`[protected]`

I n`[protected]`

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

- sparsematrix.h