insightdock::charts::compute_histogram

Bins values into equal-width bins. NaN/Inf are skipped.

Synopsis

Declared in <insightdock/histogram.h>
[[visibility]]
Histogram
compute_histogram(
    std::vector<double> const& values,
    HistogramOptions const& options = {});

Return Value

An empty histogram when there is no finite data.

Parameters

Name Description
values A standard container which offers fixed time access to individual elements in any order.
options How compute_histogram bins its input.

Created with MrDocs