FlowsheetSolverFunctionGradientAsync Method |
Gradient function called asynchronously by the simultaneous adjust solver. Retrieves the gradient of the error function value for each adjust object.
Namespace: DWSIM.FlowsheetSolverAssembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax private static double[,] FunctionGradientAsync(
Object fobj,
double[] x,
CancellationToken ct
)
Private Shared Function FunctionGradientAsync (
fobj As Object,
x As Double(),
ct As CancellationToken
) As Double(,)
Request Example
View SourceParameters
- 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
DoubleSee Also