Tiny Vector Matrix library using Expression Templates | Sourceforge Project Page |
#include <tvmet/loop/Gemtv.h>
using formula
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); } }
Public Member Functions | |
gemtv () | |
Static Public Member Functions | |
template<class E1, class E2> | |
static PromoteTraits< typename E1::value_type, typename E2::value_type >::value_type | prod (const E1 &lhs, const E2 &rhs, std::size_t i) |
Private Types | |
enum | { count = Rows, N = (count+7)/8 } |
Private Member Functions | |
gemtv (const gemtv &) | |
gemtv & | operator= (const gemtv &) |
tvmet::loop::gemtv< Rows, Cols >::gemtv | ( | const gemtv< Rows, Cols > & | ) | [private] |
tvmet::loop::gemtv< Rows, Cols >::gemtv | ( | ) | [inline] |
gemtv& tvmet::loop::gemtv< Rows, Cols >::operator= | ( | const gemtv< Rows, Cols > & | ) | [private] |
static PromoteTraits< typename E1::value_type, typename E2::value_type >::value_type tvmet::loop::gemtv< Rows, Cols >::prod | ( | const E1 & | lhs, | |
const E2 & | rhs, | |||
std::size_t | i | |||
) | [inline, static] |
Author: |