NewtonRaphsonSystemSolver Constructor

Definition

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

Overload List

NewtonRaphsonSystemSolver

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

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

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

Parameters

targetFunctions  Func<Vector<Double>, Double>[]
An array of multivariate function delegates that specify the target function.
initialGuess  Vector<Double>
The initial guess for the solution.

Exceptions

ArgumentNullException

targetFunctions is null.

NewtonRaphsonSystemSolver(Func<Vector<Double>, Vector<Double>, Vector<Double>>, Vector<Double>)

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

Parameters

targetFunction  Func<Vector<Double>, Vector<Double>, Vector<Double>>
A multivariate function returning a vector in its second argument delegate that specifies the target functions.
initialGuess  Vector<Double>
The initial guess for the solution.

Exceptions

ArgumentNullException

targetFunction is null.

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

Constructs a new NewtonRaphsonSystemSolver object.
C#
public NewtonRaphsonSystemSolver(
	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.

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

Constructs a new NewtonRaphsonSystemSolver object.
C#
public NewtonRaphsonSystemSolver(
	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 delegate that specifies the target functions.
jacobianFunction  Func<Vector<Double>, Matrix<Double>, Matrix<Double>>
A delegate that maps a vector to a matrix that specifies the Jacobian of the system.
initialGuess  Vector<Double>
The initial guess for the solution.

Exceptions

ArgumentNullException

targetFunction is null.

-or-

jacobianFunction is null.

See Also