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

tvmet::util Namespace Reference


Detailed Description

Miscellaneous utility functions used.


Classes

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...
struct  Incrementor< std::complex< T > >

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.


Function Documentation

template<class T, std::size_t Rows, std::size_t Cols>
tvmet::util::Gemm ( const Matrix< T, Rows, Cols > &  m1,
const Matrix< T, Rows, Cols > &  m2,
Matrix< T, Rows, Cols > &  m3 
) [inline]

General matrix matrix multiplication using loops.

template<class T, std::size_t Rows, std::size_t Cols>
tvmet::util::Gemv ( const Matrix< T, Rows, Cols > &  m,
const Vector< T, Cols > &  v,
Vector< T, Cols > &  v2 
) [inline]

General matrix vector multiplication using loops.

template<class T, std::size_t Sz>
tvmet::util::Gevvadd ( const Vector< T, Sz > &  v1,
const Vector< T, Sz > &  v2,
Vector< T, Sz > &  v3 
) [inline]

General vector vector elementwise multiplication using loop.

template<class T, std::size_t Sz>
tvmet::util::Gevvmul ( const Vector< T, Sz > &  v1,
const Vector< T, Sz > &  v2,
Vector< T, Sz > &  v3 
) [inline]

General vector vector elementwise multiplication using loop.


Author: