Jet
v1.3.3
|
Vector expression for CSR matrix-vector multiplication. More...
#include <jet/matrix_csr.h>
Public Member Functions | |
MatrixCsrVectorMul (const MatrixCsr< T > &m, const VE &v) | |
MatrixCsrVectorMul (const MatrixCsrVectorMul &) | |
size_t | size () const |
Size of the vector. More... | |
T | operator[] (size_t i) const |
Returns vector element at i. More... | |
![]() | |
size_t | size () const |
Size of the vector. More... | |
const MatrixCsrVectorMul< T, VE > & | operator() () const |
Returns actual implementation (the subclass). More... | |
Vector expression for CSR matrix-vector multiplication.
This vector expression represents a CSR matrix-vector operation that takes one CSR input matrix expression and one vector expression.
T | Element value type. |
VE | Vector expression. |
jet::MatrixCsrVectorMul< T, VE >::MatrixCsrVectorMul | ( | const MatrixCsr< T > & | m, |
const VE & | v | ||
) |
jet::MatrixCsrVectorMul< T, VE >::MatrixCsrVectorMul | ( | const MatrixCsrVectorMul< T, VE > & | ) |
T jet::MatrixCsrVectorMul< T, VE >::operator[] | ( | size_t | i | ) | const |
Returns vector element at i.
size_t jet::MatrixCsrVectorMul< T, VE >::size | ( | ) | const |
Size of the vector.