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
tvmet::util Namespace Reference
Miscellaneous utility functions used. More...
Data Structures | |
class | Incrementor |
A simple incrementor class. More... | |
class | Random |
A simple random class. More... | |
class | Timer |
A quick& dirty portable timer, measures elapsed time. More... | |
Functions | |
template<class T , std::size_t Rows, std::size_t Cols> | |
void | Gemm (const Matrix< T, Rows, Cols > &m1, const Matrix< T, Rows, Cols > &m2, Matrix< T, Rows, Cols > &m3) |
General matrix matrix multiplication using loops. | |
template<class T , std::size_t Rows, std::size_t Cols> | |
void | Gemv (const Matrix< T, Rows, Cols > &m, const Vector< T, Cols > &v, Vector< T, Cols > &v2) |
General matrix vector multiplication using loops. | |
template<class T , std::size_t Sz> | |
void | Gevvmul (const Vector< T, Sz > &v1, const Vector< T, Sz > &v2, Vector< T, Sz > &v3) |
General vector vector elementwise multiplication using loop. | |
template<class T , std::size_t Sz> | |
void | Gevvadd (const Vector< T, Sz > &v1, const Vector< T, Sz > &v2, Vector< T, Sz > &v3) |
General vector vector elementwise multiplication using loop. |
Detailed Description
Miscellaneous utility functions used.
Function Documentation
Gemm | ( | const Matrix< T, Rows, Cols > & | m1, |
const Matrix< T, Rows, Cols > & | m2, | ||
Matrix< T, Rows, Cols > & | m3 | ||
) |
Gemv | ( | const Matrix< T, Rows, Cols > & | m, |
const Vector< T, Cols > & | v, | ||
Vector< T, Cols > & | v2 | ||
) |
Gevvadd | ( | const Vector< T, Sz > & | v1, |
const Vector< T, Sz > & | v2, | ||
Vector< T, Sz > & | v3 | ||
) |
Generated on Tue Jul 12 2022 19:00:12 by 1.7.2