BinaryDistance

BinaryDistance[u,v]

gives the binary distance between vectors u and v, equal to 0 if they are identical and 1 otherwise.

Details

Examples

open allclose all

Basic Examples  (2)

Binary distance between numeric vectors:

In[1]:=
Click for copyable input
Out[1]=

Binary distance between two identical symbolic vectors:

In[1]:=
Click for copyable input
Out[1]=

Scope  (4)

Applications  (1)

Properties & Relations  (3)

Possible Issues  (1)

See Also

EuclideanDistance  Norm  GroupBy  Unitize  Boole  Equal  Unequal  SameQ  MatchingDissimilarity  ContainsAll

Tutorials

Introduced in 2015
(10.2)