Support Software for Vector Reduction/Transformation Operators Version of the Day
Public Types | Public Member Functions
RTOpPack::ROp_2_ScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction > Class Template Reference

Base class for scalar reduction RTOps with two input vectors. More...

#include <RTOpPack_RTOpTHelpers_decl.hpp>

Inheritance diagram for RTOpPack::ROp_2_ScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
ROpScalarReductionWithOpBase
< Scalar, ReductScalar,
ReductObjReduction > 
base_t
 

Public Member Functions

 ROp_2_ScalarReduction (const ReductScalar &initReductObjValue_in=ReductScalar(), EleWiseReduction eleWiseReduction_in=EleWiseReduction(), ReductObjReduction reductObjReduction_in=ReductObjReduction())
 

Overridden from RTOpT

void apply_op_impl (const ArrayView< const ConstSubVectorView< Scalar > > &sub_vecs, const ArrayView< const SubVectorView< Scalar > > &targ_sub_vecs, const Ptr< ReductTarget > &reduct_obj_inout) const
 

Detailed Description

template<class Scalar, class ReductScalar, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
class RTOpPack::ROp_2_ScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >

Base class for scalar reduction RTOps with two input vectors.

Definition at line 671 of file RTOpPack_RTOpTHelpers_decl.hpp.


Member Typedef Documentation

template<class Scalar , class ReductScalar , class EleWiseReduction , class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
typedef ROpScalarReductionWithOpBase<Scalar, ReductScalar, ReductObjReduction> RTOpPack::ROp_2_ScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::base_t

Definition at line 678 of file RTOpPack_RTOpTHelpers_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar , class ReductScalar , class EleWiseReduction , class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
RTOpPack::ROp_2_ScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::ROp_2_ScalarReduction ( const ReductScalar &  initReductObjValue_in = ReductScalar(),
EleWiseReduction  eleWiseReduction_in = EleWiseReduction(),
ReductObjReduction  reductObjReduction_in = ReductObjReduction() 
) [inline]

Definition at line 681 of file RTOpPack_RTOpTHelpers_decl.hpp.


Member Function Documentation

template<class Scalar , class ReductScalar , class EleWiseReduction , class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
void RTOpPack::ROp_2_ScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::apply_op_impl ( const ArrayView< const ConstSubVectorView< Scalar > > &  sub_vecs,
const ArrayView< const SubVectorView< Scalar > > &  targ_sub_vecs,
const Ptr< ReductTarget > &  reduct_obj_inout 
) const [inline, virtual]

Implements RTOpPack::RTOpT< Scalar >.

Definition at line 694 of file RTOpPack_RTOpTHelpers_decl.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends