1 #ifndef STATISTICS_STORE_H 2 #define STATISTICS_STORE_H 4 #include "../shared/memoized_curve_view_range.h" 5 #include "../shared/float_pair_store.h" 47 double defaultValue(
int i,
int j)
override;
48 double sumOfValuesBetween(
double x1,
double x2);
49 double sortedElementNumber(
int k);
50 int minIndex(
double * bufferValues,
int bufferLength);
53 double m_firstDrawnBarAbscissa;
double sumOfOccurrences()
static constexpr float k_displayLeftMarginRatio
double heightOfBarAtValue(double value)
void setFirstDrawnBarAbscissa(double firstDrawnBarAbscissa)
static constexpr float k_displayRightMarginRatio
double standardDeviation()
double heightOfBarAtIndex(int index)
double firstDrawnBarAbscissa()
double endOfBarAtIndex(int index)
static constexpr float k_displayBottomMarginRatio
static constexpr float k_displayTopMarginRatio
void setBarWidth(double barWidth)
double sampleStandardDeviation()
static constexpr double k_maxNumberOfBars
double(Store::* CalculPointer)()
bool scrollToSelectedBarIndex(int index)
double startOfBarAtIndex(int index)