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
XprMVProduct< E1, Rows, Cols, E2 > Class Template Reference
Expression for matrix-vector product using formula
. More...
#include <tvmet/xpr/MVProduct.h>
Inherits TvmetBase< XprMVProduct< E1, Rows, Cols, E2 > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
XprMVProduct (const E1 &lhs, const E2 &rhs) | |
Constructor. | |
XprMVProduct (const XprMVProduct &e) | |
Copy Constructor. | |
value_type | operator() (std::size_t j) const |
index operator, returns the expression by index. |
Detailed Description
template<class E1, std::size_t Rows, std::size_t Cols, class E2>
class tvmet::XprMVProduct< E1, Rows, Cols, E2 >
Expression for matrix-vector product using formula
.
Definition at line 43 of file MVProduct.h.
Member Enumeration Documentation
anonymous enum |
Complexity counter.
Definition at line 57 of file MVProduct.h.
Constructor & Destructor Documentation
XprMVProduct | ( | const E1 & | lhs, |
const E2 & | rhs | ||
) | [explicit] |
Constructor.
Definition at line 70 of file MVProduct.h.
XprMVProduct | ( | const XprMVProduct< E1, Rows, Cols, E2 > & | e ) |
Member Function Documentation
value_type operator() | ( | std::size_t | j ) | const |
index operator, returns the expression by index.
This is the vector style since a matrix*vector gives a vector.
Definition at line 98 of file MVProduct.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2