1 #ifndef REGRESSION_STORE_H 2 #define REGRESSION_STORE_H 4 #include "../shared/interactive_curve_view_range.h" 5 #include "../shared/float_pair_store.h" 18 int nextDot(
int direction,
int dot);
38 constexpr
static float k_displayTopMarginRatio = 0.12f;
39 constexpr
static float k_displayRightMarginRatio = 0.05f;
40 constexpr
static float k_displayBottomMarginRatio = 0.5f;
41 constexpr
static float k_displayLeftMarginRatio = 0.05f;
43 float addMargin(
float x,
float range,
bool isMin)
override;
44 float maxValueOfColumn(
int i);
45 float minValueOfColumn(
int i);
double squaredCorrelationCoefficient()
double columnProductSum()
double standardDeviationOfColumn(int i)
int closestVerticalDot(int direction, float x)
double meanOfColumn(int i)
double(Store::* CalculPointer)()
void(Store::* RangeMethodPointer)()
double correlationCoefficient()
double varianceOfColumn(int i)
double(Store::* ArgCalculPointer)(int)
int nextDot(int direction, int dot)
double xValueForYValue(double y)
InteractiveCurveViewRange(CurveViewCursor *cursor, InteractiveCurveViewRangeDelegate *delegate=nullptr)
void setDefault() override
double squaredValueSumOfColumn(int i)
double yValueForXValue(double x)