CubbyFlow::MatrixVectorMul< T, ME, VE > Class Template Reference
Vector expression for matrix-vector multiplication. More...
#include <Core/Matrix/MatrixExpression.h>
Inheritance diagram for CubbyFlow::MatrixVectorMul< T, ME, VE >:
Public Member Functions | |
MatrixVectorMul (const ME &m, const VE &v) | |
size_t | size () const |
Size of the vector. More... | |
T | operator[] (size_t i) const |
Returns vector element at i. More... | |
Public Member Functions inherited from CubbyFlow::VectorExpression< T, MatrixVectorMul< T, ME, VE > > | |
size_t | size () const |
Size of the vector. More... | |
const MatrixVectorMul< T, ME, VE > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Detailed Description
template<typename T, typename ME, typename VE>
class CubbyFlow::MatrixVectorMul< T, ME, VE >
Vector expression for matrix-vector multiplication.
This vector expression represents a matrix-vector operation that takes one input matrix expression and one vector expression.
Constructor & Destructor Documentation
◆ MatrixVectorMul()
template<typename T , typename ME , typename VE >
CubbyFlow::MatrixVectorMul< T, ME, VE >::MatrixVectorMul | ( | const ME & | m, |
const VE & | v | ||
) |
Member Function Documentation
◆ operator[]()
template<typename T , typename ME , typename VE >
T CubbyFlow::MatrixVectorMul< T, ME, VE >::operator[] | ( | size_t | i | ) | const |
Returns vector element at i.
◆ size()
template<typename T , typename ME , typename VE >
size_t CubbyFlow::MatrixVectorMul< T, ME, VE >::size | ( | ) | const |
Size of the vector.
The documentation for this class was generated from the following files:
- Core/Matrix/MatrixExpression.h
- Core/Matrix/MatrixExpression-Impl.h