CurveFitCompute(Int32, IListDouble, IListDouble) Method

Computes linear regression over given values.

Definition

Namespace: Gemstone.Numeric.Analysis
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.170 -- Release Build+bbba6fd4a26a340bfc358a3686e9fa5973d54075
public static double[] Compute(
	int polynomialOrder,
	IList<double> xValues,
	IList<double> yValues
)

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