Good way to hash a float vector?
I think what you’re looking for is not directly possible. One important property of equality is that it is transitive. (ie. If a == b and b == c, then a == c). With a distance measure, though, you really don’t want this property. Example: Take a single float (for simplicity). Suppose we want to … Read more