How compute_histogram bins its input.
<insightdock/histogram.h>
struct HistogramOptions;
| Name | Description |
|---|---|
bins | Number of equal-width bins; 0 picks one with Sturges' rule (1 + log2 n), capped at 100. |
max_value | Upper bound of the last bin (see min_value). Values outside the range are ignored. |
min_value | Lower bound of the first bin; used only when min_value < max_value, else the data minimum. |