This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Embed: (wiki syntax)

« Back to documentation index

AliasProxy< E > Class Template Reference

AliasProxy< E > Class Template Reference

Assign proxy for alias Matrices and Vectors. More...

#include <tvmet/AliasProxy.h>

Friends

AliasProxy< E > alias (E &expr)
 Simplify syntax for alias Matrices and Vectors, where aliasing left hand values appear in the expression.

Detailed Description

template<class E>
class tvmet::AliasProxy< E >

Assign proxy for alias Matrices and Vectors.

A short lived object to provide simplified alias syntax. Only the friend function alias is allowed to create such a object. The proxy calls the appropriate member alias_xyz() which have to use temporaries to avoid overlapping memory regions.

See also:
alias
Some Notes alias
Note:
Thanks to ublas-dev group, where the principle idea comes from.

Definition at line 67 of file AliasProxy.h.


Friends And Related Function Documentation

AliasProxy<E> alias ( E &  expr ) [friend]

Simplify syntax for alias Matrices and Vectors, where aliasing left hand values appear in the expression.

Example:
 typedef tvmet::Matrix<double, 10, 10>    matrix_type;
 matrix_type                    m;
 ...
 alias(m) += trans(m);
See also:
AliasProxy
Some Notes alias

Definition at line 49 of file AliasProxy.h.