NumLibPolyFitT(ComplexT, ComplexT, Int32) Method
Fit polynomial to data
Namespace: Metas.UncLib.CoreAssembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
public static Complex<T>[] PolyFit<T>(
Complex<T>[] x,
Complex<T>[] y,
int n
)
where T : new(), Object, IRealNumber<T>
Public Shared Function PolyFit(Of T As {New, Object, IRealNumber(Of T)}) (
x As Complex(Of T)(),
y As Complex(Of T)(),
n As Integer
) As Complex(Of T)()
public:
generic<typename T>
where T : gcnew(), Object, IRealNumber<T>
static array<Complex<T>>^ PolyFit(
array<Complex<T>>^ x,
array<Complex<T>>^ y,
int n
)
static member PolyFit :
x : Complex<'T>[] *
y : Complex<'T>[] *
n : int -> Complex<'T>[] when 'T : new() and Object and IRealNumber<'T>
- x ComplexT
- X Values
- y ComplexT
- Y Values
- n Int32
- Polynom Order: 0 to Number of Points - 1
- T
- Number Type
ComplexTPolynomial coefficients in descending powers