计算斜率和截距。
void LineRegressionFit::SetAlphaAndBeta(const std::vector<float> &xVec, const std::vector<float> &yVec);
参数名
输入/输出
说明
xVec
输入
横坐标数组。
yVec
纵坐标数组。