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
XprBinOp< BinOp, E1, E2 > Class Template Reference
Binary operators working on two sub expressions. More...
#include <tvmet/xpr/BinOperator.h>
Inherits TvmetBase< XprBinOp< BinOp, E1, E2 > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
XprBinOp (const E1 &lhs, const E2 &rhs) | |
Constructor for two expressions. | |
XprBinOp (const XprBinOp &e) | |
Copy Constructor. | |
value_type | operator() (std::size_t i) const |
Index operator, evaluates the expression inside. | |
value_type | operator() (std::size_t i, std::size_t j) const |
Index operator for arrays/matrices. |
Detailed Description
template<class BinOp, class E1, class E2>
class tvmet::XprBinOp< BinOp, E1, E2 >
Binary operators working on two sub expressions.
On acessing using the index operator() the binary operation will be evaluated at compile time.
Definition at line 40 of file BinOperator.h.
Member Enumeration Documentation
anonymous enum |
Complexity counter.
Definition at line 51 of file BinOperator.h.
Constructor & Destructor Documentation
XprBinOp | ( | const E1 & | lhs, |
const E2 & | rhs | ||
) | [explicit] |
Constructor for two expressions.
Definition at line 59 of file BinOperator.h.
Member Function Documentation
value_type operator() | ( | std::size_t | i ) | const |
Index operator, evaluates the expression inside.
Definition at line 71 of file BinOperator.h.
value_type operator() | ( | std::size_t | i, |
std::size_t | j | ||
) | const |
Index operator for arrays/matrices.
Definition at line 76 of file BinOperator.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2