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


BinaryDistance
BinaryDistance[u,v]
gives the binary distance between vectors u and v, equal to 0 if they are identical and 1 otherwise.
Examples
open all close allBasic Examples (2)
Scope (4)
Applications (1)
Cluster data using BinaryDistance:
Properties & Relations (3)
Approximate numbers may be considered identical:
BinaryDistance is effectively related to Equal:
Tech Notes
Related Guides
History
Text
Wolfram Research (2015), BinaryDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/BinaryDistance.html.
CMS
Wolfram Language. 2015. "BinaryDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BinaryDistance.html.
APA
Wolfram Language. (2015). BinaryDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BinaryDistance.html
BibTeX
@misc{reference.wolfram_2025_binarydistance, author="Wolfram Research", title="{BinaryDistance}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/BinaryDistance.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_binarydistance, organization={Wolfram Research}, title={BinaryDistance}, year={2015}, url={https://reference.wolfram.com/language/ref/BinaryDistance.html}, note=[Accessed: 15-August-2025]}