NumLibPolyFitT(ComplexT, ComplexT, 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 Complex<T>[] PolyFit<T>(
	Complex<T>[] x,
	Complex<T>[] y,
	int n
)
where T : new(), Object, IRealNumber<T>

Parameters

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

Type Parameters

T
Number Type

Return Value

ComplexT
Polynomial coefficients in descending powers

See Also