RealNumLibDPolyFit Method
Fit polynomial to data
Namespace: Metas.UncLib.Core.NdimsAssembly: Metas.UncLib.Core (in Metas.UncLib.Core.dll) Version: 2.8.9053.20192
public static RealNArray<D> PolyFit(
RealNArray<D> x,
RealNArray<D> y,
int n
)
Public Shared Function PolyFit (
x As RealNArray(Of D),
y As RealNArray(Of D),
n As Integer
) As RealNArray(Of D)
public:
static RealNArray<D>^ PolyFit(
RealNArray<D>^ x,
RealNArray<D>^ y,
int n
)
static member PolyFit :
x : RealNArray<'D> *
y : RealNArray<'D> *
n : int -> RealNArray<'D>
- x RealNArrayD
- X Values
- y RealNArrayD
- Y Values
- n Int32
- Polynom Order: 0 to Number of Points - 1
RealNArrayDPolynomial coefficients in descending powers