Click or drag to resize

QuickNonlinearRegressionOldFit(Double, Double, Double, Boolean, CancellationToken) Method

Performs nonlinear least-squares fitting.

Namespace: Altaxo.Calc.Regression.Nonlinear
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public virtual double[] 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

Double
The fitted parameter vector.
See Also