QuickNonlinearRegressionOldFit(Double, Double, Double, Boolean, CancellationToken) Method |
Performs nonlinear least-squares fitting.
Namespace: Altaxo.Calc.Regression.NonlinearAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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
DoubleThe fitted parameter vector.
See Also