Go to the documentation of this file.
68 const IndexType delta_;
72 typename List::value_type lowSum_;
75 typename List::value_type highSum_;
94 const IndexType
delta,
104 inline IndexType
delta()
const
110 inline const IndexType&
lowSum()
const
116 inline const IndexType&
highSum()
const
123 const IndexType& indexVal,
124 const typename List::const_reference val,
125 const CombineOp& cop = plusEqOp<typename List::value_type>()
130 const UList<IndexType>& indexVals,
132 const CombineOp& cop = plusEqOp<typename List::value_type>()
Various functors for unary and binary operations. Can be used for parallel combine-reduce operations ...
const IndexType & lowSum() const
label min(const labelHashSet &set, label minValue=labelMax)
const IndexType & highSum() const
label max(const labelHashSet &set, label maxValue=labelMin)
constexpr List() noexcept
BinSum(const IndexType min, const IndexType max, const IndexType 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...
void add(const IndexType &indexVal, const typename List::const_reference val, const CombineOp &cop=plusEqOp< typename List::value_type >())