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
gemtv< Rows, Cols > Class Template Reference
class for transposed(matrix)-vector product using loop unrolling. More...
#include <tvmet/loop/Gemtv.h>
Detailed Description
template<std::size_t Rows, std::size_t Cols>
class tvmet::loop::gemtv< Rows, Cols >
class for transposed(matrix)-vector product using loop unrolling.
using formula
- Example:
template<class T, std::size_t Rows, std::size_t Cols> inline void prod(const Matrix<T, Rows, Cols>& lhs, const Vector<T, Rows>& rhs, Vector<T, Cols>& dest) { for (std::size_t i = 0; i != Cols; ++i) { dest(i) = tvmet::loop::gemtv<Rows, Cols>().prod(lhs, rhs, i); } }
Definition at line 54 of file loop/Gemtv.h.
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2