|
faunus
|
Histogram for an arbitrary set of values using a sparse memory layout (map) More...
#include <sparsehistogram.h>
Public Member Functions | |
| SparseHistogram (T resolution) | |
| const T | getResolution () const |
| void | add (const T value) |
Friends | |
| auto & | operator<< (std::ostream &stream, const SparseHistogram &histogram) |
Histogram for an arbitrary set of values using a sparse memory layout (map)
Builds a histogram by binning given values to a specified resolution. Values are stored in a memory efficient map-structure with log(N) lookup complexity.
1.8.13