Click or drag to resize

CurveFitCompute(Int32, IEnumerablePoint) Method

Computes linear regression over given values.

Namespace: GSF.NumericalAnalysis
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.316-beta+461e40cb239c8ff1c2b7471a13bb1d1852a92e83
Syntax
public static double[] Compute(
	int polynomialOrder,
	IEnumerable<Point> values
)
View Source

Parameters

polynomialOrder  Int32
An Int32 for the polynomial order.
values  IEnumerablePoint
A list of values.

Return Value

Double
An array of Double values.
See Also