MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / bucket

Method bucket

libraries/Histogram/histogram.cpp:86–90  ·  view source on GitHub ↗

returns the count of a bucket

Source from the content-addressed store, hash-verified

84
85// returns the count of a bucket
86int32_t Histogram::bucket(const uint16_t index)
87{
88 if (index > _length) return 0;
89 return _data[index];
90}
91
92
93// returns the relative frequency of a bucket

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64