Go to the documentation of this file.
54 class CombineOp = plusEqOp<typename List::value_type>
70 typename List::value_type
lowSum_;
92 const IndexType
delta,
102 inline IndexType
delta()
const
108 inline const IndexType&
lowSum()
const
114 inline const IndexType&
highSum()
const
121 const IndexType& indexVal,
122 const typename List::const_reference val,
List::value_type lowSum_
Sum < lowest bin.
IndexType delta() const
Return the delta.
Combination-Reduction operation for a parallel run.
const IndexType & lowSum() const
Return the sum of all added elements < min.
const IndexType & highSum() const
Return the sum of all added elements >= max.
List::value_type highSum_
Sum of >= highest bin.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
BinSum(const IndexType min, const IndexType max, const IndexType delta)
Construct given min, max, delta.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
void add(const IndexType &indexVal, const typename List::const_reference val, const CombineOp &cop=plusEqOp< typename List::value_type >())