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