strata::Count¶
Part of Reductions.
How many values of a mask are true, as a std::size_t.
Of bool only: of a mask, not of anything that converts to one. Of no values it is 0.
Members¶
accumulator¶
What the reducer keeps while values come in.
identity¶
Zero: the result of no values.
accumulate¶
acc plus one if the value is true.
combine¶
The sum of two partial counts.
finalize¶
The accumulator itself, whatever the count.