SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

tvmet::meta::gemv< Rows, Cols, J > Class Template Reference

#include <tvmet/meta/Gemv.h>

List of all members.


Detailed Description

template<std::size_t Rows, std::size_t Cols, std::size_t J>
class tvmet::meta::gemv< Rows, Cols, J >

Meta class for matrix-vector operations.

using formula

\[ M\,v \]


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)
 Meta template for Matrix lhs Vector rhs product.

Private Types

enum  { doIt = J < (Cols-1) }

Private Member Functions

 gemv ()
 gemv (const gemv &)
gemvoperator= (const gemv &)


Member Enumeration Documentation

template<std::size_t Rows, std::size_t Cols, std::size_t J>
anonymous enum [private]

Enumerator:
doIt  recursive counter


Constructor & Destructor Documentation

template<std::size_t Rows, std::size_t Cols, std::size_t J>
tvmet::meta::gemv< Rows, Cols, J >::gemv (  )  [private]

template<std::size_t Rows, std::size_t Cols, std::size_t J>
tvmet::meta::gemv< Rows, Cols, J >::gemv ( const gemv< Rows, Cols, J > &   )  [private]


Member Function Documentation

template<std::size_t Rows, std::size_t Cols, std::size_t J>
gemv& tvmet::meta::gemv< Rows, Cols, J >::operator= ( const gemv< Rows, Cols, J > &   )  [private]

template<std::size_t Rows, std::size_t Cols, std::size_t J>
template<class E1, class E2>
static PromoteTraits< typename E1::value_type, typename E2::value_type >::value_type tvmet::meta::gemv< Rows, Cols, J >::prod ( const E1 &  lhs,
const E2 &  rhs,
std::size_t  i 
) [inline, static]

Meta template for Matrix lhs Vector rhs product.


Author: