FlowsheetSolver2FunctionGradientAsync Method

Gradient function called asynchronously by the simultaneous adjust solver. Retrieves the gradient of the error function value for each adjust object.

Definition

Namespace: DWSIM.FlowsheetSolver
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
private double[,] FunctionGradientAsync(
	Object fobj,
	double[] x,
	CancellationToken ct
)

Parameters

fobj  Object
Flowsheet where the object belongs to.
x  Double
ct  CancellationToken
The cancellation token, used to listen for calculation cancellation requests from the user.

Return Value

Double

See Also