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.
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/RInterface/doc.m2:522:0.