Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > operators
next | previous | forward | backward | up | index | toc

operators

Here we present all of the unary and binary operators in the language. They are members of the class Keyword. The binary operators are != # #? % %= & &= * ** **= *= + ++ ++= += , - -= -> . .. ..< ..<= ..= .? / // //= /= : := ; < <- << <<= <= <== <=== <==> <==>= = =!= == === ===> ===>= ==> ==>= => > >= >> >>= ? ?? ??= @ @= @@ @@= \ \= \\ \\= ^ ^** ^**= ^= ^^ ^^= _ _= | |- |-= |= || ||= and or SPACE xor , the unary prefix operators are # * + , - < << <= <== <=== > >= ? ?? |- not , and the unary postfix operators are ! (*) , ; ^* _* ~ .

Of those, the ones for which users may install new methods are the binary operators % %= & &= * ** **= *= + ++ ++= += - -= .. ..< ..<= ..= / // //= /= : << <<= <== <=== <==> <==>= == ===> ===>= ==> ==>= >> >>= ? ?? ??= @ @= @@ @@= \ \= \\ \\= ^ ^** ^**= ^= ^^ ^^= _ _= | |- |-= |= || ||= and or SPACE xor , the unary prefix operators * + - < << <= <== <=== > >= ? ?? |- not , and the unary postfix operators ! (*) ^* _* ~ .

Menu

assignment

equality testing

comparison of objects

predicates

functions

subscripting and object access

arithmetic operators

miscellaneous operators

built in operators

augmented assignment

further information