Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public DoubleComparer(
double tolerance
)
Public Sub New (
tolerance As Double
)
public:
DoubleComparer(
double tolerance
)
new :
tolerance : float -> DoubleComparer
Parameters
- tolerance
- Type: SystemDouble
The relative tolerance.
Two numbers are considered equal when the absolute value
of their difference is less than the tolerance times the
absolute value of the largest of the two numbers.
A common value for the tolerance is around 10 times the
machine precision.
Reference