Jet  v1.3.3
Public Member Functions | List of all members
jet::MatrixCsrVectorMul< T, VE > Class Template Reference

Vector expression for CSR matrix-vector multiplication. More...

#include <jet/matrix_csr.h>

Inheritance diagram for jet::MatrixCsrVectorMul< T, VE >:
jet::VectorExpression< T, MatrixCsrVectorMul< T, VE > >

Public Member Functions

 MatrixCsrVectorMul (const MatrixCsr< T > &m, const VE &v)
 
 MatrixCsrVectorMul (const MatrixCsrVectorMul &)
 
size_t size () const
 Size of the vector. More...
 
operator[] (size_t i) const
 Returns vector element at i. More...
 
- Public Member Functions inherited from jet::VectorExpression< T, MatrixCsrVectorMul< T, VE > >
size_t size () const
 Size of the vector. More...
 
const MatrixCsrVectorMul< T, VE > & operator() () const
 Returns actual implementation (the subclass). More...
 

Detailed Description

template<typename T, typename VE>
class jet::MatrixCsrVectorMul< T, VE >

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.

Template Parameters
TElement value type.
VEVector expression.

Constructor & Destructor Documentation

◆ MatrixCsrVectorMul() [1/2]

template<typename T , typename VE >
jet::MatrixCsrVectorMul< T, VE >::MatrixCsrVectorMul ( const MatrixCsr< T > &  m,
const VE &  v 
)

◆ MatrixCsrVectorMul() [2/2]

template<typename T , typename VE >
jet::MatrixCsrVectorMul< T, VE >::MatrixCsrVectorMul ( const MatrixCsrVectorMul< T, VE > &  )

Member Function Documentation

◆ operator[]()

template<typename T , typename VE >
T jet::MatrixCsrVectorMul< T, VE >::operator[] ( size_t  i) const

Returns vector element at i.

◆ size()

template<typename T , typename VE >
size_t jet::MatrixCsrVectorMul< T, VE >::size ( ) const

Size of the vector.


The documentation for this class was generated from the following file: