RTOp Package Browser (Single Doxygen Collection) Version of the Day
Public Types | Public Member Functions | Private Attributes
RTOpPack::ROp_1_ScalarReduction< Scalar, ConcreteReductObj, EleWiseReduction, ReductObjReduction > Class Template Reference

Base class for scalar reduction RTOps with one input vector. More...

#include <RTOpPack_RTOpTHelpers_decl.hpp>

Inheritance diagram for RTOpPack::ROp_1_ScalarReduction< Scalar, ConcreteReductObj, EleWiseReduction, ReductObjReduction >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
ROpScalarReductionWithOpBase
< Scalar, ConcreteReductObj,
ReductObjReduction > 
base_t
 

Public Member Functions

 ROp_1_ScalarReduction (const ConcreteReductObj &initReductObjValue_in=ConcreteReductObj(), EleWiseReduction eleWiseReduction_in=EleWiseReduction(), ReductObjReduction reductObjReduction_in=ReductObjReduction())
 

Private Attributes

EleWiseReduction eleWiseReduction_

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 ConcreteReductObj, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ConcreteReductObj>>
class RTOpPack::ROp_1_ScalarReduction< Scalar, ConcreteReductObj, EleWiseReduction, ReductObjReduction >

Base class for scalar reduction RTOps with one input vector.

Definition at line 439 of file RTOpPack_RTOpTHelpers_decl.hpp.


Member Typedef Documentation

template<class Scalar, class ConcreteReductObj, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ConcreteReductObj>>
typedef ROpScalarReductionWithOpBase<Scalar, ConcreteReductObj, ReductObjReduction> RTOpPack::ROp_1_ScalarReduction< Scalar, ConcreteReductObj, EleWiseReduction, ReductObjReduction >::base_t

Definition at line 445 of file RTOpPack_RTOpTHelpers_decl.hpp.


Constructor & Destructor Documentation

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

Definition at line 448 of file RTOpPack_RTOpTHelpers_decl.hpp.


Member Function Documentation

template<class Scalar, class ConcreteReductObj, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ConcreteReductObj>>
void RTOpPack::ROp_1_ScalarReduction< Scalar, ConcreteReductObj, 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 461 of file RTOpPack_RTOpTHelpers_decl.hpp.


Member Data Documentation

template<class Scalar, class ConcreteReductObj, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ConcreteReductObj>>
EleWiseReduction RTOpPack::ROp_1_ScalarReduction< Scalar, ConcreteReductObj, EleWiseReduction, ReductObjReduction >::eleWiseReduction_ [private]

Definition at line 502 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 Enumerator Friends Defines