LevenbergMarquardtMinimizerWithConstraintsNonAllocatingFindMinimum(IObjectiveModelNonAllocating, IReadOnlyListDouble, IReadOnlyListDouble, IReadOnlyListBoolean, CancellationToken, ActionInt32, Double, IReadOnlyListDouble) Method |
Non-linear least squares fitting by the Levenberg-Marquardt algorithm.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntaxpublic NonlinearMinimizationResult FindMinimum(
IObjectiveModelNonAllocating objective,
IReadOnlyList<double> initialGuess,
IReadOnlyList<double>? scales,
IReadOnlyList<bool>? isFixed,
CancellationToken cancellationToken,
Action<int, double, IReadOnlyList<double>>? reportChi2Progress
)
Parameters
- objective IObjectiveModelNonAllocating
- The objective function, including model and observations.
- initialGuess IReadOnlyListDouble
- The initial guess values.
- scales IReadOnlyListDouble
-
Optional scale factors for the parameters (same length as initialGuess).
Pass for automatic scaling.
- isFixed IReadOnlyListBoolean
-
Optional array indicating which parameters are permanently fixed.
Must have the same length as initialGuess.
- cancellationToken CancellationToken
- Token to cancel the evaluation.
- reportChi2Progress ActionInt32, Double, IReadOnlyListDouble
-
Callback reporting (iterationCount, chi², currentParameters). May be .
Return Value
NonlinearMinimizationResult[Missing <returns> documentation for "M:Altaxo.Calc.Optimization.LevenbergMarquardtMinimizerWithConstraintsNonAllocating.FindMinimum(Altaxo.Calc.Optimization.IObjectiveModelNonAllocating,System.Collections.Generic.IReadOnlyList{System.Double},System.Collections.Generic.IReadOnlyList{System.Double},System.Collections.Generic.IReadOnlyList{System.Boolean},System.Threading.CancellationToken,System.Action{System.Int32,System.Double,System.Collections.Generic.IReadOnlyList{System.Double}})"]
See Also