NumLibPolyFitT(T, T, Int32) Method

Fit polynomial to data

Definition

Namespace: Metas.UncLib.Core
Assembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
C#
public static T[] PolyFit<T>(
	T[] x,
	T[] y,
	int n
)
where T : new(), Object, IRealNumber<T>

Parameters

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

Type Parameters

T
Number Type

Return Value

T
Polynomial coefficients in descending powers

See Also