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
XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > Class Template Reference
Expression for matrix-matrix product. More...
#include <tvmet/xpr/MMtProduct.h>
Inherits TvmetBase< XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > >.
Public Types | |
enum | |
Complexity counter. More... | |
Public Member Functions | |
XprMMtProduct (const E1 &lhs, const E2 &rhs) | |
Constructor. | |
XprMMtProduct (const XprMMtProduct &e) | |
Copy Constructor. | |
value_type | operator() (std::size_t i, std::size_t j) const |
index operator for arrays/matrices |
Detailed Description
template<class E1, std::size_t Rows1, std::size_t Cols1, class E2, std::size_t Cols2>
class tvmet::XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 >
Expression for matrix-matrix product.
Using formula:
- Note:
- The number of cols of rhs matrix have to be equal to cols of rhs matrix. The result is a (Rows1 x Rows2) matrix.
Definition at line 45 of file MMtProduct.h.
Member Enumeration Documentation
anonymous enum |
Complexity counter.
Definition at line 60 of file MMtProduct.h.
Constructor & Destructor Documentation
XprMMtProduct | ( | const E1 & | lhs, |
const E2 & | rhs | ||
) | [explicit] |
Constructor.
Definition at line 74 of file MMtProduct.h.
XprMMtProduct | ( | const XprMMtProduct< E1, Rows1, Cols1, E2, Cols2 > & | e ) |
Member Function Documentation
value_type operator() | ( | std::size_t | i, |
std::size_t | j | ||
) | const |
index operator for arrays/matrices
Definition at line 102 of file MMtProduct.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2