Click or drag to resize

QuickNonlinearRegressionAllocatingFit(Double, Double, Double, Boolean, 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,
	bool[] isFixed,
	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.
isFixed  Boolean
Array of booleans indicating which parameters are fixed. Must have the same length as initialGuess.
cancellationToken  CancellationToken
Token to cancel the evaluation.

Return Value

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