BinaryDistance
BinaryDistance(u, v)
returns the binary distance between
u
andv
.0
ifu
andv
are unequal.1
ifu
andv
are equal.
Examples
>> BinaryDistance({1, 2, 3, 4, 5}, {1, 2, 3, 4, 5})1
>> BinaryDistance({1, 2, 3, 4, 5}, {1, 2, 3, 4, -5})0
>> BinaryDistance({1, 2, 3, 4, 5}, {1, 2, 3, 4, 5.0})0
Related terms
FindClusters, BrayCurtisDistance, ChessboardDistance, CanberraDistance, CosineDistance, EuclideanDistance, ManhattanDistance, SquaredEuclideanDistance
Implementation status
- ✅ - full supported