this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to copy one encap into another encap object
encap | source |
encap | dst |
Definition at line 419 of file map_vector_sparse.hpp.
#include <map_vector_sparse.hpp>
Public Member Functions | |
sparse_vector_reduction_cpu (vector_data_type &vector_data_red, vector_data_type &vector_data, vector_index_type &vector_index, vector_index_type_reo &reorder_add_index_cpu) | |
constructor More... | |
template<typename T > | |
void | operator() (T &t) const |
It call the copy function for each property. | |
Data Fields | |
vector_data_type & | vector_data_red |
Vector in which to the reduction. | |
vector_data_type & | vector_data |
Vector in which to the reduction. | |
vector_index_type_reo & | reorder_add_index_cpu |
reorder vector index | |
vector_index_type & | vector_index |
Index type vector. | |
|
inline |
constructor
src | source encapsulated object |
dst | source encapsulated object |
Definition at line 439 of file map_vector_sparse.hpp.