|
CurveFitCompute(Int32, IListDouble, IListDouble) Method
|
Computes linear regression over given values.
Namespace: GSF.NumericalAnalysisAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic static double[] Compute(
int polynomialOrder,
IList<double> xValues,
IList<double> yValues
)
Public Shared Function Compute (
polynomialOrder As Integer,
xValues As IList(Of Double),
yValues As IList(Of Double)
) As Double()
public:
static array<double>^ Compute(
int polynomialOrder,
IList<double>^ xValues,
IList<double>^ yValues
)
static member Compute :
polynomialOrder : int *
xValues : IList<float> *
yValues : IList<float> -> float[]
GSF.NumericalAnalysis.CurveFit.Compute = function(polynomialOrder, xValues, yValues);
View SourceParameters
- polynomialOrder Int32
- An Int32 for the polynomial order.
- xValues IListDouble
- A list of Double x-values.
- yValues IListDouble
- A list of Double y-values.
Return Value
DoubleAn array of
Double values.
See Also