11 #ifndef GO_WEB_SCAN_HISTOGRAM_H
12 #define GO_WEB_SCAN_HISTOGRAM_H
147 #include <GoWebScanSdk/GoWebScanHistogram.x.h>
k32s GoWebScanHistogram_BinAt(GoWebScanHistogram histogram, kSize binIndex)
Gets the distribution at a given bin index.
kSize GoWebScanHistogram_BinCount(GoWebScanHistogram histogram)
Gets the number of bins.
Essential GoWebScan declarations.
k32s GoWebScanHistogram_Quantile(GoWebScanHistogram histogram, k64f quantile)
Gets the X-axis value at a specified quantile.
kStatus GoWebScanHistogram_Construct(GoWebScanHistogram *histogram, k32s minValue, k32s maxValue, k32s binWidthBits, kAlloc allocator)
Constructs a GoWebScanHistogram object.
kStatus GoWebScanHistogram_AddArray32s(GoWebScanHistogram histogram, const k32s *values, kSize count)
Adds an array of 32-bit signed values to the histogram.
k32s GoWebScanHistogram_Mode(GoWebScanHistogram histogram)
Gets the mode of the histogram.
kSize GoWebScanHistogram_Count(GoWebScanHistogram histogram)
Gets the count of values contained in the histogram.
kStatus GoWebScanHistogram_AddArray8u(GoWebScanHistogram histogram, const k8u *values, kSize count)
Adds an array of 8-bit unsigned values to the histogram.
kStatus GoWebScanHistogram_Add(GoWebScanHistogram histogram, k32s value)
Adds a single value to the histogram.
kStatus GoWebScanHistogram_Clear(GoWebScanHistogram histogram)
Clears histogram.
kStatus GoWebScanHistogram_AddArray16sn(GoWebScanHistogram histogram, const k16s *values, kSize count)
Adds an array of 16-bit signed values to the histogram.
kStatus GoWebScanHistogram_AddArray32sn(GoWebScanHistogram histogram, const k32s *values, kSize count)
Adds an array of 32-bit signed values to the histogram.