Click or drag to resize

NLFitLMFunction Delegate

User-supplied subroutine which calculates the functions to minimize.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public delegate void LMFunction(
	int numberOfYs,
	int numberOfParameter,
	double[] parameter,
	double[] ys,
	ref int info
)

Parameters

numberOfYs  Int32
The number of function values to compute.
numberOfParameter  Int32
The number of parameters.
parameter  Double
The parameter vector.
ys  Double
The destination array that receives the computed function values.
info  Int32
Status flag that can be set by the callee to terminate execution (set to a negative integer).
Remarks
Calculates numberOfYs functions depending on numberOfParameter parameters and returns the resulting values in ys. The value of info should not be changed unless the user wants to terminate execution of LevenbergMarquardtFit(NLFitLMFunction, Double, Double, Double, CancellationToken, Int32). In this case, set info to a negative integer.
See Also