Click or drag to resize

CurveFitCompute(Int32, IListDouble, IListDouble) Method

Computes linear regression over given values.

Namespace: GSF.NumericalAnalysis
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
Syntax
public static double[] Compute(
	int polynomialOrder,
	IList<double> xValues,
	IList<double> yValues
)
View Source

Parameters

polynomialOrder  Int32
An Int32 for the polynomial order.
xValues  IListDouble
A list of Double x-values.
yValues  IListDouble
A list of Double y-values.

Return Value

Double
An array of Double values.
See Also