Calculates the slope and intercept.
1 | void LineRegressionFit::SetAlphaAndBeta(const std::vector<float> &xVec, const std::vector<float> &yVec); |
Parameter |
Input/Output |
Description |
|---|---|---|
xVec |
Input |
Horizontal coordinate array |
yVec |
Input |
Vertical coordinate array |