Click or drag to resize

NonlinearLS Constructor (Int32, Int32, NonlinearLSFunctionDelegate, NonlinearLSGradientDelegate)

Initializes the instance of class NonlinearLS. This constructor allows to pass (optionally) the function that calculates the objective Jacobi matrix. In case when gradient is null, the numerical Jacobi matrix will be used instead of analytical.

Namespace:  FinMath.NumericalOptimization.Unconstrained
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public NonlinearLS(
	int n,
	int m,
	NonlinearLSFunctionDelegate function,
	NonlinearLSGradientDelegate gradient
)

Parameters

n
Type: SystemInt32
The dimension of domain (number of arguments).
m
Type: SystemInt32
The dimension of image (number of values).
function
Type: FinMath.NumericalOptimization.UnconstrainedNonlinearLSFunctionDelegate
The objective function delegate.
gradient
Type: FinMath.NumericalOptimization.UnconstrainedNonlinearLSGradientDelegate
The objective gradient delegate.
See Also