EquationSystemSolver.SetGradientFunctions Method

Definition

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

Overload List

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

Sets the target functions.
C#
public void SetGradientFunctions(
	Func<Vector<double>, Vector<double>>[] gradients
)

Parameters

gradients  Func<Vector<Double>, Vector<Double>>[]
An array of multivariate functions returning a vector.

Remarks

The elements of gradients represent the gradients of the left-hand sides of the equations in a system of non-linear equations.

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

Sets the target functions.
C#
public void SetGradientFunctions(
	Func<Vector<double>, Vector<double>?, Vector<double>>[] gradients
)

Parameters

gradients  Func<Vector<Double>, Vector<Double>, Vector<Double>>[]
An array of multivariate function returning a vector in its second argument delegates.

Remarks

The elements of gradients represent the gradients of the left-hand sides of the equations in a system of non-linear equations.

Exceptions

InvalidOperationException

The method is called while the algorithm is running.

ArgumentNullException

gradients is null.

See Also