Double Comparer.Tolerance Property
Gets or sets the relative tolerance within which
two numbers compare equal.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A small positive real number.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public double Tolerance { get; set; }
Property Value
DoubleA small positive real number.
Remarks
Two numbers are considered equal if the absolute value of their difference is less than Tolerance times the larger of the absolute values of the two numbers.
To be meaningful, the value of this property should be a small number larger than Epsilon.