DoglegSystemSolver Constructor

Definition

Namespace: Numerics.NET.EquationSolvers
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

DoglegSystemSolver

Constructs a new DoglegSystemSolver object.
C#
public DoglegSystemSolver()

DoglegSystemSolver(Func<Vector<Double>, Double>[], Func<Vector<Double>, Vector<Double>, Vector<Double>>[], Vector<Double>)

Constructs a new DoglegSystemSolver object.
C#
public DoglegSystemSolver(
	Func<Vector<double>, double>[] targetFunctions,
	Func<Vector<double>, Vector<double>?, Vector<double>>[] gradientOfTargetFunctions,
	Vector<double> initialGuess
)

Parameters

targetFunctions  Func<Vector<Double>, Double>[]
An array of multivariate function delegates that specify the target function.
gradientOfTargetFunctions  Func<Vector<Double>, Vector<Double>, Vector<Double>>[]
An array of multivariate function returning a vector in its second argument delegates that specify the derivative of the target function.
initialGuess  Vector<Double>
The initial guess for the solution.

Exceptions

ArgumentNullException

targetFunctions is null.

-or-

gradientOfTargetFunctions is null.

DoglegSystemSolver(Func<Vector<Double>, Vector<Double>, Vector<Double>>, Func<Vector<Double>, Matrix<Double>, Matrix<Double>>, Vector<Double>)

Constructs a new DoglegSystemSolver object.
C#
public DoglegSystemSolver(
	Func<Vector<double>, Vector<double>?, Vector<double>> targetFunction,
	Func<Vector<double>, Matrix<double>?, Matrix<double>> jacobianFunction,
	Vector<double> initialGuess
)

Parameters

targetFunction  Func<Vector<Double>, Vector<Double>, Vector<Double>>
A multivariate function returning a vector in its second argument that specifies the target function.
jacobianFunction  Func<Vector<Double>, Matrix<Double>, Matrix<Double>>
A multivariate function returning a matrix in its second argument that specifies the derivative of the Jacobian for targetFunction.
initialGuess  Vector<Double>
The initial guess for the solution.

Exceptions

ArgumentNullException

targetFunction is null.

-or-

jacobianFunction is null.

See Also