A reference for the C++ operators.
~x
NOT x
NOT
Intended to mimic bar.
!x
x * y
x AND y
AND
Boolean algebra AND operator (multiply)
x & y
x + y
x OR y
OR
Boolean algebra OR operator (add)
x | y
x ^ y
x XOR y
XOR
C++ XOR operator (don't confuse this with logical AND)
x - y
x AND (NOT y)
x == y
Equality Comparison
Returns true if the diagrams are equal (will be the case if equivalent diagrams have been created with consistent variable ordering)
Last updated 2 years ago