These bitwise logical operations use syntax equivalent to their Macaulay2 counterparts.
~ is bitwise not, calling R's bitwNot.
|
|
|
& is bitwise and, calling R's bitwAnd.
|
| is bitwise or, calling R's bitwOr.
|
^^ is bitwise xor, calling R's bitwXor.
|
|
|
For the binary operators, one of the operands may be a Macaulay2 object. It will be converted to an RObject before the operation is performed.
|
|