EquationSystemSolver.SetGradientFunctions Method

Definition

Namespace: Extreme.Mathematics.EquationSolvers
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

InvalidOperationExceptionThe method is called while the algorithm is running.
ArgumentNullExceptiongradients is null.

See Also