IEquatableEpsilonTEqualsEpsilon Method |
Returns true if this instance is equal to the specified instance, within epsilon.
Commonly, in order for two instances to be considered equal by this method, the absolute value of the
difference between each of their constituent elements must be less than or equal to epsilon.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax bool EqualsEpsilon(
T other,
double epsilon
)
Function EqualsEpsilon (
other As T,
epsilon As Double
) As Boolean
bool EqualsEpsilon(
T other,
double epsilon
)
abstract EqualsEpsilon :
other : 'T *
epsilon : float -> bool
Parameters
- other
- Type: T
The instance to compare to this instance. - epsilon
- Type: SystemDouble
The largest allowable difference between this instance and other.
Return Value
Type:
Booleantrue if this instance and
other are equal, within
epsilon.
See Also