Robotsystem from Robot Group Leipzig: Matrix Class Template Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Alphabetical List
- Class Hierarchy
- Class Members

# Matrix Class Template Reference

`#include <matrices.h>`

Inheritance diagram for Matrix:

[legend]
Collaboration diagram for Matrix:

[legend]
List of all members.

## Detailed Description

### template<typename T>
class lpzrobots::Matrix< T >

Definition at line 61 of file matrices.h.

## Public Types
typedef std::vector< T > | Data
## Public Member Functions
| Matrix (unsigned n=0, unsigned m=0)
unsigned | get_column_count () const
unsigned | get_row_count () const
T & | operator() (unsigned i, unsigned j)
const T & | operator() (unsigned i, unsigned j) const
## Protected Attributes
Data | data
unsigned | n
unsigned | m

## Member Typedef Documentation

typedef std::vector<T> Data

| Definition at line 63 of file matrices.h.

## Constructor & Destructor Documentation

Matrix | ( | unsigned | n = `0`,
|  | unsigned | m = `0`
| ) |

| Definition at line 127 of file matrices.h.

## Member Function Documentation

unsigned get_column_count | ( |  | ) | const

| Definition at line 143 of file matrices.h.

unsigned get_row_count | ( |  | ) | const

| Definition at line 136 of file matrices.h.

const T & operator() | ( | unsigned | i,
|  | unsigned | j
| ) | const

| Definition at line 160 of file matrices.h.

T & operator() | ( | unsigned | i,
|  | unsigned | j
| ) |

| Definition at line 150 of file matrices.h.

## Member Data Documentation

Data data`[protected]`

| Definition at line 66 of file matrices.h.

unsigned m`[protected]`

| Definition at line 68 of file matrices.h.

unsigned n`[protected]`

| Definition at line 67 of file matrices.h.