We are going to win! wohoo
gemv< Rows, Cols > Class Template Reference
class for matrix-vector product using loop unrolling. More...
#include <tvmet/loop/Gemv.h>
Detailed Description
template<std::size_t Rows, std::size_t Cols>
class tvmet::loop::gemv< Rows, Cols >
class for 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, Cols>& rhs, Vector<T, Rows>& dest) { for (std::size_t i = 0; i != Rows; ++i) { dest(i) = tvmet::loop::gemv<Rows, Cols>().prod(lhs, rhs, i); } }
Definition at line 54 of file loop/Gemv.h.
Generated on Tue Jul 12 2022 19:50:04 by 1.7.2