67 void count(
const List& bins,
const List& l);
Calculates the counts per bin of a list.
label nHigh() const
Return the number of elements > bins[bins.size()-1].
const labelList & counts() const
Return the counts per bin.
label nLow() const
Return the number of elements <= bins[0].
Histogram(const List &bins, const List &l)
Construct given bin values and input list.
void operator=(const Histogram &)=delete
Disallow default bitwise assignment.
const T & const_reference
Type that can be used for storing into.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)