ICRS Eurobot 2013

Dependencies:   mbed mbed-rtos Servo QEI

Embed: (wiki syntax)

« Back to documentation index

XprIdentity< T, Rows, Cols > Class Template Reference

XprIdentity< T, Rows, Cols > Class Template Reference

Expression for the identity matrix. More...

#include <tvmet/xpr/Identity.h>

Inherits TvmetBase< XprIdentity< T, Rows, Cols > >.

Public Types

enum  
 

Complexity counter.

More...

Public Member Functions

value_type operator() (std::size_t i, std::size_t j) const
 access by index.

Detailed Description

template<class T, std::size_t Rows, std::size_t Cols>
class tvmet::XprIdentity< T, Rows, Cols >

Expression for the identity matrix.

This expression doesn't hold any other expression, it simply returns 1 or 0 depends where the row and column element excess is done.

Since:
release 1.6.0
See also:
identity

Definition at line 24 of file Identity.h.


Member Enumeration Documentation

anonymous enum

Complexity counter.

Definition at line 34 of file Identity.h.


Member Function Documentation

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

access by index.

Definition at line 41 of file Identity.h.