From f8763ca5669862392e95d9de911a1896f14aa812 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Sun, 20 Jun 2021 14:23:09 +0200 Subject: [PATCH] FindMinimum.OfFunction and Fit.Curve adapt docs #760 --- src/Numerics/Fit.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Numerics/Fit.cs b/src/Numerics/Fit.cs index 06eb8f25..6d7bebd2 100644 --- a/src/Numerics/Fit.cs +++ b/src/Numerics/Fit.cs @@ -364,7 +364,7 @@ namespace MathNet.Numerics /// /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, p3, x), - /// returning its best fitting parameter p0, p1 and p2. + /// returning its best fitting parameter p0, p1, p2 and p3. /// public static Tuple Curve(double[] x, double[] y, Func f, double initialGuess0, double initialGuess1, double initialGuess2, double initialGuess3, double tolerance = 1e-8, int maxIterations = 1000) { @@ -372,8 +372,8 @@ namespace MathNet.Numerics } /// - /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, p3, x), - /// returning its best fitting parameter p0, p1 and p2. + /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, p3, p4, x), + /// returning its best fitting parameter p0, p1, p2, p3 and p4. /// public static Tuple Curve(double[] x, double[] y, Func f, double initialGuess0, double initialGuess1, double initialGuess2, double initialGuess3, double initialGuess4, double tolerance = 1e-8, int maxIterations = 1000) { @@ -411,7 +411,7 @@ namespace MathNet.Numerics } /// - /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, x), + /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, p3, x), /// returning a function y' for the best fitting curve. /// public static Func CurveFunc(double[] x, double[] y, Func f, double initialGuess0, double initialGuess1, double initialGuess2, double initialGuess3, double tolerance = 1e-8, int maxIterations = 1000) @@ -421,7 +421,7 @@ namespace MathNet.Numerics } /// - /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, x), + /// Non-linear least-squares fitting the points (x,y) to an arbitrary function y : x -> f(p0, p1, p2, p3, p4, x), /// returning a function y' for the best fitting curve. /// public static Func CurveFunc(double[] x, double[] y, Func f, double initialGuess0, double initialGuess1, double initialGuess2, double initialGuess3, double initialGuess4, double tolerance = 1e-8, int maxIterations = 1000)