Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Eurobot_2012_Secondary by
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.
- 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.
Generated on Tue Jul 12 2022 21:02:14 by
