Click or drag to resize

CurveFit.Compute(Int32, IEnumerable<Point> ) Method

Computes linear regression over given values.

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

Parameters

polynomialOrder  Int32
An Int32 for the polynomial order.
values  IEnumerable<Point>
A list of values.

Return Value

Double[]
An array of Double values.
See Also