ICRS Eurobot 2013

Dependencies:   mbed mbed-rtos Servo QEI

Embed: (wiki syntax)

« Back to documentation index

MatrixConstReference< T, NRows, NCols > Class Template Reference

MatrixConstReference< T, NRows, NCols > Class Template Reference

value iterator for ET More...

#include <tvmet/Matrix.h>

Inherits TvmetBase< MatrixConstReference< T, NRows, NCols > >.

Public Types

enum  { Rows = NRows, Cols = NCols, Size = Rows * Cols }
 

Dimensions.

More...
enum  
 

Complexity counter.

More...

Public Member Functions

 MatrixConstReference (const Matrix< T, Rows, Cols > &rhs)
 Constructor.
 MatrixConstReference (const_pointer data)
 Constructor by a given memory pointer.
value_type operator() (std::size_t i, std::size_t j) const
 access by index.

Detailed Description

template<class T, std::size_t NRows, std::size_t NCols>
class tvmet::MatrixConstReference< T, NRows, NCols >

value iterator for ET

Definition at line 56 of file Matrix.h.


Member Enumeration Documentation

anonymous enum

Dimensions.

Enumerator:
Rows 

Number of rows.

Cols 

Number of cols.

Size 

Complete Size of Matrix.

Definition at line 65 of file Matrix.h.

anonymous enum

Complexity counter.

Definition at line 73 of file Matrix.h.


Constructor & Destructor Documentation

MatrixConstReference ( const Matrix< T, Rows, Cols > &  rhs ) [explicit]

Constructor.

Definition at line 83 of file Matrix.h.

MatrixConstReference ( const_pointer  data ) [explicit]

Constructor by a given memory pointer.

Definition at line 88 of file Matrix.h.


Member Function Documentation

value_type operator() ( std::size_t  i,
std::size_t  j 
) const

access by index.

Definition at line 94 of file Matrix.h.