RTOpPack::ROp_1_CoordVariantScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction > Class Template Reference

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

#include <RTOpPack_RTOpTHelpers_decl.hpp>

Inheritance diagram for RTOpPack::ROp_1_CoordVariantScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >:

Inheritance graph
[legend]
List of all members.

Overridden from RTOpT

bool coord_invariant_impl () const
 This RTOp is NOT coordinate invariant! .
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
 

Public Types

typedef ROpScalarReductionWithOpBase<
Scalar, ReductScalar, ReductObjReduction > 
base_t
 

Public Member Functions

 ROp_1_CoordVariantScalarReduction (const ReductScalar &initReductObjValue=ReductScalar(), EleWiseReduction eleWiseReduction=EleWiseReduction(), ReductObjReduction reductObjReduction=ReductObjReduction())
 
void setEleWiseReduction (EleWiseReduction eleWiseReduction)
 

Detailed Description

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

Base class for coordinate-variant scalar reduction RTOps with one input vector.

Definition at line 560 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_1_CoordVariantScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::base_t

Definition at line 566 of file RTOpPack_RTOpTHelpers_decl.hpp.


Constructor & Destructor Documentation

template<class Scalar, class ReductScalar, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
RTOpPack::ROp_1_CoordVariantScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::ROp_1_CoordVariantScalarReduction ( const ReductScalar &  initReductObjValue = ReductScalar(),
EleWiseReduction  eleWiseReduction = EleWiseReduction(),
ReductObjReduction  reductObjReduction = ReductObjReduction() 
) [inline]

Definition at line 569 of file RTOpPack_RTOpTHelpers_decl.hpp.


Member Function Documentation

template<class Scalar, class ReductScalar, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
void RTOpPack::ROp_1_CoordVariantScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::setEleWiseReduction ( EleWiseReduction  eleWiseReduction  )  [inline]

Definition at line 579 of file RTOpPack_RTOpTHelpers_decl.hpp.

template<class Scalar, class ReductScalar, class EleWiseReduction, class ReductObjReduction = SumScalarReductObjReduction<ReductScalar>>
bool RTOpPack::ROp_1_CoordVariantScalarReduction< Scalar, ReductScalar, EleWiseReduction, ReductObjReduction >::coord_invariant_impl (  )  const [inline, virtual]

This RTOp is NOT coordinate invariant! .

Reimplemented from RTOpPack::RTOpT< Scalar >.

Definition at line 586 of file RTOpPack_RTOpTHelpers_decl.hpp.

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


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:41:18 2010 for Support Software for Vector Reduction/Transformation Operators by  doxygen 1.4.7