The standard arithmetic operators are available when working with R objects, and in particular, numeric and complex vectors.
|
|
|
|
|
|
|
|
|
|
// and % have their usual Macaulay2 behaviors of floor division and modulus, respectively, wrapping around R's %/% and %%.
|
|
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.06+ds/M2/Macaulay2/packages/RInterface/doc.m2:387:0.