Histogram: Added float data input

This commit is contained in:
Jacob Støren
2015-06-04 15:58:21 +02:00
parent 273e91d38d
commit e6231c0601
2 changed files with 26 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ public:
RigHistogramCalculator(double min, double max, size_t nBins, std::vector<size_t>* histogram);
void addData(const std::vector<double>& data);
void addData(const std::vector<float>& data);
/// Calculates the estimated percentile from the histogram.
/// the percentile is the domain value at which pVal of the observations are below it.