Itoyori  v0.0.1
ityr::reducer::vec_element_wise< T, BinaryOp > Struct Template Reference

#include <reducer_extra.hpp>

Public Types

using value_type = global_vector< T >
 
using accumulator_type = global_vector< T >
 

Public Member Functions

void operator() (accumulator_type &acc_l, value_type &&acc_r) const
 
void operator() (accumulator_type &&acc_l, accumulator_type &acc_r) const
 
accumulator_type operator() () const
 

Member Typedef Documentation

◆ accumulator_type

template<typename T , typename BinaryOp >
using ityr::reducer::vec_element_wise< T, BinaryOp >::accumulator_type = global_vector<T>

◆ value_type

template<typename T , typename BinaryOp >
using ityr::reducer::vec_element_wise< T, BinaryOp >::value_type = global_vector<T>

Member Function Documentation

◆ operator()() [1/3]

template<typename T , typename BinaryOp >
accumulator_type ityr::reducer::vec_element_wise< T, BinaryOp >::operator() ( ) const
inline

◆ operator()() [2/3]

template<typename T , typename BinaryOp >
void ityr::reducer::vec_element_wise< T, BinaryOp >::operator() ( accumulator_type &&  acc_l,
accumulator_type acc_r 
) const
inline

◆ operator()() [3/3]

template<typename T , typename BinaryOp >
void ityr::reducer::vec_element_wise< T, BinaryOp >::operator() ( accumulator_type acc_l,
value_type &&  acc_r 
) const
inline

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