Click or drag to resize

LevenbergMarquardtMinimizerNonAllocatingFindMinimum(IObjectiveModelNonAllocating, IReadOnlyListDouble, CancellationToken, ActionInt32, Double, IReadOnlyListDouble) Method

Non-linear least square fitting by the Levenberg-Marquardt algorithm.

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public NonlinearMinimizationResult FindMinimum(
	IObjectiveModelNonAllocating objective,
	IReadOnlyList<double> initialGuess,
	CancellationToken cancellationToken,
	Action<int, double, IReadOnlyList<double>>? reportChi2Progress
)

Parameters

objective  IObjectiveModelNonAllocating
The objective function, including model, observations, and parameter bounds.
initialGuess  IReadOnlyListDouble
The initial guess values.
cancellationToken  CancellationToken
Token to cancel the evaluation
reportChi2Progress  ActionInt32, Double, IReadOnlyListDouble
Event handler that can be used to report the NumberOfIterations and Chi² value achived so far. Can be null

Return Value

NonlinearMinimizationResult
The result of the Levenberg-Marquardt minimization
See Also