STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::partitioner_details::combine_vector_wf< T > Struct Template Reference

Functor to combine two vectors by summing their elements pair-wise. More...

Public Member Functions

template<typename Partition1 , typename Partition2 >
result_type operator() (Partition1 const &part1, Partition2 const &part2) const
 

Public Types

typedef std::vector< T > result_type
 

Detailed Description

template<typename T>
struct stapl::partitioner_details::combine_vector_wf< T >

Functor to combine two vectors by summing their elements pair-wise.

Template Parameters
Telement type of the vectors.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename Partition1 , typename Partition2 >
result_type stapl::partitioner_details::combine_vector_wf< T >::operator() ( Partition1 const &  part1,
Partition2 const &  part2 
) const
Parameters
part1first vector.
part2second vector.

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