|
CurveFitCompute(Int32, IEnumerablePoint) 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,
IEnumerable<Point> values
)
Public Shared Function Compute (
polynomialOrder As Integer,
values As IEnumerable(Of Point)
) As Double()
public:
static array<double>^ Compute(
int polynomialOrder,
IEnumerable<Point>^ values
)
static member Compute :
polynomialOrder : int *
values : IEnumerable<Point> -> float[]
GSF.NumericalAnalysis.CurveFit.Compute = function(polynomialOrder, values);
View SourceParameters
- polynomialOrder Int32
- An Int32 for the polynomial order.
- values IEnumerablePoint
- A list of values.
Return Value
DoubleAn array of
Double values.
See Also