Click or drag to resize

QuickNonlinearRegressionAllocatingFit(Double, Double, Double, CancellationToken) Method

Performs nonlinear least-squares fitting using the Levenberg-Marquardt algorithm.

Namespace: Altaxo.Calc.Regression.Nonlinear
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public NonlinearMinimizationResult Fit(
	double[] xValues,
	double[] yValues,
	double[] initialGuess,
	CancellationToken cancellationToken
)

Parameters

xValues  Double
The x-values of the model to fit.
yValues  Double
The y-values of the model to fit.
initialGuess  Double
The initially guessed parameter values.
cancellationToken  CancellationToken
Token to cancel the evaluation.

Return Value

NonlinearMinimizationResult
The result of the Levenberg-Marquardt minimization.
See Also