CurveFitLeastSquares(Double, Double, Double, Double) Method
Uses least squares linear regression to estimate the coefficients a and b
from the given (x,y) data points for the equation y = a + bx.
Namespace: Gemstone.Numeric.AnalysisAssembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.172 -- Release Build+a1df2e6c05369850bd6adda4f66e605f51f93037
Gemstone.Numeric.Analysis.CurveFit.LeastSquares = function(xValues, yValues, a, b);
Parameters
- xValues Double
- x-value array
- yValues Double
- y-value array
- a Double
- the out a coefficient
- b Double
- the out b coefficient