SetAlphaAndBeta
Function Usage
This function is used to calculate the slope and intercept.
Prototype
void SetAlphaAndBeta(const std::vector<float> &xVec, const std::vector<float> &yVec);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
xVec |
Input |
Horizontal coordinate array |
yVec |
Input |
Vertical coordinate array |
Parent topic: LineRegressionFit