Collection of Concrete Vector Reduction/Transformation Operator Implementations Version of the Day
|
Reduction operator that extracts a sub-vector in the range of global zero-based indexes [l,u]. More...
#include <RTOpPack_ROpGetSubVector_decl.hpp>
Public Types | |
typedef RTOpT< Scalar >::primitive_value_type | primitive_value_type |
Public Member Functions | |
ROpGetSubVector (const index_type l=0, const index_type u=0) | |
void | set_range (const index_type l, const index_type u) |
Set the range of global indexes to extract elements for. | |
const ConstSubVectorView< Scalar > | operator() (const ReductTarget &reduct_obj) const |
Extract the subvector after all of the reductions are completed. | |
Reduction operator that extracts a sub-vector in the range of global zero-based indexes [l,u].
ToDo: Finish documentation!
Definition at line 59 of file RTOpPack_ROpGetSubVector_decl.hpp.
typedef RTOpT<Scalar>::primitive_value_type RTOpPack::ROpGetSubVector< Scalar >::primitive_value_type |
Definition at line 63 of file RTOpPack_ROpGetSubVector_decl.hpp.
RTOpPack::ROpGetSubVector< Scalar >::ROpGetSubVector | ( | const index_type | l = 0, |
const index_type | u = 0 ) |
Definition at line 54 of file RTOpPack_ROpGetSubVector_def.hpp.
void RTOpPack::ROpGetSubVector< Scalar >::set_range | ( | const index_type | l, |
const index_type | u ) |
Set the range of global indexes to extract elements for.
Definition at line 62 of file RTOpPack_ROpGetSubVector_def.hpp.
const ConstSubVectorView< Scalar > RTOpPack::ROpGetSubVector< Scalar >::operator() | ( | const ReductTarget & | reduct_obj | ) | const |
Extract the subvector after all of the reductions are completed.
Definition at line 73 of file RTOpPack_ROpGetSubVector_def.hpp.
|
virtual |
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 84 of file RTOpPack_ROpGetSubVector_def.hpp.
|
virtual |
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 100 of file RTOpPack_ROpGetSubVector_def.hpp.
|
virtual |
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 112 of file RTOpPack_ROpGetSubVector_def.hpp.
|
virtual |
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 153 of file RTOpPack_ROpGetSubVector_def.hpp.
void RTOpPack::ROpGetSubVector< Scalar >::extract_reduct_obj_state_impl | ( | const ReductTarget & | reduct_obj, |
const ArrayView< primitive_value_type > & | value_data, | ||
const ArrayView< index_type > & | index_data, | ||
const ArrayView< char_type > & | char_data ) const |
Definition at line 166 of file RTOpPack_ROpGetSubVector_def.hpp.
void RTOpPack::ROpGetSubVector< Scalar >::load_reduct_obj_state_impl | ( | const ArrayView< const primitive_value_type > & | value_data, |
const ArrayView< const index_type > & | index_data, | ||
const ArrayView< const char_type > & | char_data, | ||
const Ptr< ReductTarget > & | reduct_obj ) const |
Definition at line 194 of file RTOpPack_ROpGetSubVector_def.hpp.
|
virtual |
Reimplemented from RTOpPack::RTOpT< Scalar >.
Definition at line 227 of file RTOpPack_ROpGetSubVector_def.hpp.
|
virtual |
Implements RTOpPack::RTOpT< Scalar >.
Definition at line 234 of file RTOpPack_ROpGetSubVector_def.hpp.