RealNumLibDPolyFit Method

Fit polynomial to data

Definition

Namespace: Metas.UncLib.Core.Ndims
Assembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
C#
public static RealNArray<D> PolyFit(
	RealNArray<D> x,
	RealNArray<D> y,
	int n
)

Parameters

x  RealNArrayD
X Values
y  RealNArrayD
Y Values
n  Int32
Polynom Order: 0 to Number of Points - 1

Return Value

RealNArrayD
Polynomial coefficients in descending powers

See Also