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
XprLiteral< T > Class Template Reference
Specify literals like scalars into the expression. More...
#include <tvmet/xpr/Literal.h>
Inherits TvmetBase< XprLiteral< T > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
XprLiteral (value_type value) | |
Constructor by value for literals . | |
XprLiteral (const XprLiteral &e) | |
Copy Constructor. | |
value_type | operator() (std::size_t) const |
Index operator, gives the value for vectors. | |
value_type | operator() (std::size_t, std::size_t) const |
Index operator for arrays/matrices. |
Detailed Description
template<class T>
class tvmet::XprLiteral< T >
Specify literals like scalars into the expression.
This expression is used for vectors and matrices - the decision is done by the access operator.
Definition at line 37 of file Literal.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
XprLiteral | ( | value_type | value ) | [explicit] |
XprLiteral | ( | const XprLiteral< T > & | e ) |
Member Function Documentation
value_type operator() | ( | std::size_t | ) | const |
Generated on Tue Jul 12 2022 21:02:14 by
