NumLibPolyFitT(T, T, 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 T[] PolyFit<T>(
T[] x,
T[] y,
int n
)
where T : new(), Object, IRealNumber<T>
Public Shared Function PolyFit(Of T As {New, Object, IRealNumber(Of T)}) (
x As T(),
y As T(),
n As Integer
) As T()
public:
generic<typename T>
where T : gcnew(), Object, IRealNumber<T>
static array<T>^ PolyFit(
array<T>^ x,
array<T>^ y,
int n
)
static member PolyFit :
x : 'T[] *
y : 'T[] *
n : int -> 'T[] when 'T : new() and Object and IRealNumber<'T>
- x T
- X Values
- y T
- Y Values
- n Int32
- Polynom Order: 0 to Number of Points - 1
- T
- Number Type
TPolynomial coefficients in descending powers