This is the Tiny Vector Matrix Expression Templates library found at http://tvmet.sourceforge.net. It is the fastest and most compact matrix lib out there (for < 10x10 matricies). I have done some minor tweaks to make it compile for mbed. For examples and hints on how to use, see: http://tvmet.sourceforge.net/usage.html
Dependents: Eurobot_2012_Secondary
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 19:00:12 by 1.7.2