From 2ba34ef919880c59e4601b71f3c0dac55d00e338 Mon Sep 17 00:00:00 2001 From: Tobias Glaubach Date: Wed, 11 Jul 2018 18:08:52 +0200 Subject: [PATCH] adjusted the xml comments --- src/Numerics/Polynomial.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Numerics/Polynomial.cs b/src/Numerics/Polynomial.cs index 2aad4e66..1da5cf91 100644 --- a/src/Numerics/Polynomial.cs +++ b/src/Numerics/Polynomial.cs @@ -140,9 +140,7 @@ namespace MathNet.Numerics #region Data Interaction /// - /// Least-Squares fitting the points (x,y) to a k-order polynomial y : x -> p0 + p1*x + p2*x^2 + ... + pk*x^k, - /// returning its best fitting parameters as [p0, p1, p2, ..., pk] array, compatible with Evaluate.Polynomial. - /// A polynomial with order/degree k has (k+1) coefficients and thus requires at least (k+1) samples. + /// Least-Squares fitting the points (x,y) to a k-order polynomial y : x -> p0 + p1*x + p2*x^2 + ... + pk*x^k /// public static Polynomial Fit(double[] x, double[] y, int order, DirectRegressionMethod method = DirectRegressionMethod.QR) {