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
XprEval< E1, E2, E3 > Class Template Reference
evaluate the expression More...
#include <tvmet/xpr/Eval.h>
Inherits TvmetBase< XprEval< E1, E2, E3 > >.
Public Types | |
enum | |
Complexity Counter. More... | |
Public Member Functions | |
XprEval (const expr1_type &e1, const expr2_type &e2, const expr3_type &e3) | |
Constructor. | |
XprEval (const XprEval &rhs) | |
Copy Constructor. | |
value_type | operator() (std::size_t i) const |
index operator for vectors. | |
value_type | operator() (std::size_t i, std::size_t j) const |
index operator for matrizes. |
Detailed Description
template<class E1, class E2, class E3>
class tvmet::XprEval< E1, E2, E3 >
evaluate the expression
Since we can't overwrite the ? operator we have to write a wrapper for expression like return v1>v2 ? true : false
Definition at line 38 of file Eval.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
XprEval | ( | const expr1_type & | e1, |
const expr2_type & | e2, | ||
const expr3_type & | e3 | ||
) | [explicit] |
Member Function Documentation
value_type operator() | ( | std::size_t | i ) | const |
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2