Click or drag to resize

SolverVariableSettingsVariableChangeWithinTolerance Method

Calculates if the absolute value of change in the variable between iterations is smaller than or equal to the VariableTolerance.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public bool VariableChangeWithinTolerance(
	double currentVariableValue,
	double previousVariableValue
)

Parameters

currentVariableValue
Type: SystemDouble
The variable value at the current iteration.
previousVariableValue
Type: SystemDouble
The variable value at the previous iteration.

Return Value

Type: Boolean
if the variable change is within the tolerance and if the variable change is outside the tolerance.
See Also