SolverConstraintSettingsEqualityWithinTolerance Method |
Calculates if the absolute value of the current constraint value minus the
DesiredValue
(i.e. the constraint error) is smaller than or equal to the
Tolerance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public bool EqualityWithinTolerance(
double currentEqualityValue
)
Public Function EqualityWithinTolerance (
currentEqualityValue As Double
) As Boolean
public:
bool EqualityWithinTolerance(
double currentEqualityValue
)
member EqualityWithinTolerance :
currentEqualityValue : float -> bool
Parameters
- currentEqualityValue
- Type: SystemDouble
Return Value
Type:
Boolean if the current constraint error is within the tolerance and
if the current constraint error is outside the tolerance.
See Also