Click or drag to resize

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.3.420.0 (24.3.420.0)
Syntax
bool EqualsEpsilon(
	T other,
	double epsilon
)

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: Boolean
true if this instance and other are equal, within epsilon.
See Also