Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
»
elementary arithmetic
next
|
previous
|
forward
|
backward
|
up
|
index
|
toc
elementary arithmetic
Menu
mod
-- reduce modulo an integer
plus
-- addition
minus
-- additive inverse
difference
-- difference
times
-- multiplication
power
-- power
powermod
-- powers of integers mod N
lcm
-- least common multiple
gcd
-- greatest common divisor
gcdCoefficients
-- greatest common divisor with coefficients
factor
-- factor a ring element or a ZZ-module
The source of this document is in
Macaulay2Doc/ov_examples.m2:129:0
.