Class DoubleEqualityComparer
- Namespace
- SearchAThing.Sci
- Assembly
- netcore-sci.dll
helper class to compare a set of doubles by using given tolerance
public class DoubleEqualityComparer : IEqualityComparer<double>
- Inheritance
-
DoubleEqualityComparer
- Implements
- Inherited Members
Constructors
DoubleEqualityComparer(double)
public DoubleEqualityComparer(double _tol)
Parameters
_tol
double
Methods
Equals(double, double)
public bool Equals(double x, double y)
Parameters
Returns
GetHashCode(double)
public int GetHashCode(double obj)
Parameters
obj
double