Xor
Details
- Xor[e1,e2,…] can be input in StandardForm and InputForm as . The character ⊻ can be entered as xor or \[Xor].
- Xor gives symbolic results when necessary, applying various simplification rules to them.
- Unlike And, Nand, Or, and Nor, Xor must always test all its arguments, and so is not a control structure, and does not have attribute HoldAll.
Examples
open allclose allScope (4)
Xor is associative and commutative:
Expand in terms of And, Or, and Not:
TraditionalForm formatting:
Applications (3)
Properties & Relations (3)
Wolfram Research (1988), Xor, Wolfram Language function, https://reference.wolfram.com/language/ref/Xor.html (updated 2003).
Text
Wolfram Research (1988), Xor, Wolfram Language function, https://reference.wolfram.com/language/ref/Xor.html (updated 2003).
CMS
Wolfram Language. 1988. "Xor." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/Xor.html.
APA
Wolfram Language. (1988). Xor. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Xor.html