Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Eurobot2013 by
gemmt< Rows1, Cols1, Cols2 > Class Template Reference
class for for product matrix-transpose(matrix) operations. More...
#include <tvmet/loop/Gemmt.h>
Detailed Description
template<std::size_t Rows1, std::size_t Cols1, std::size_t Cols2>
class tvmet::loop::gemmt< Rows1, Cols1, Cols2 >
class for for product matrix-transpose(matrix) operations.
using formula
- Example:
template<class T, std::size_t Rows1, std::size_t Cols1, std::size_t Cols2> inline void prod(const Matrix<T, Rows1, Cols1>& lhs, const Matrix<T, Rows2, Cols1>& rhs, Matrix<T, Rows1, Rows2>& dest) { for (std::size_t i = 0; i != Rows1; ++i) { for (std::size_t j = 0; j != Rows2; ++j) { dest(i, j) = tvmet::loop::gemmt<Rows1, Cols1, Cols1>().prod(lhs, rhs, i, j); } } }
- 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 59 of file loop/Gemmt.h.
Generated on Tue Jul 12 2022 18:53:26 by
1.7.2
