STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Classes | Public Member Functions | Public Types
stapl::composition::block_matvec_wf Struct Reference

A coarsened workfunction for matrix vector multiplication that operates on a block of a two dimensional matrix and the vector portion corresponding to it. More...

Classes

struct  result
 Nested struct which reflects the return type of the function operator based on the types of the input views. More...
 

Public Member Functions

template<typename SubMatrix , typename SubVector >
res_t operator() (SubMatrix &mv, SubVector &sv_view) const
 Function operator. More...
 

Public Types

typedef cm_res_view< my_container< double > > res_t
 

Detailed Description

A coarsened workfunction for matrix vector multiplication that operates on a block of a two dimensional matrix and the vector portion corresponding to it.

Member Function Documentation

◆ operator()()

template<typename SubMatrix , typename SubVector >
res_t stapl::composition::block_matvec_wf::operator() ( SubMatrix &  mv,
SubVector &  sv_view 
) const

Function operator.

Parameters
mvA view of a sub-block of the input matrix.
sv_viewA view of a piece of the input vector.
Returns
A view over a container with the result of matrix vector multiplication.

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