Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
::
mod
next
|
previous
|
forward
|
backward
| up |
index
|
toc
mod -- reduce modulo an integer
Synopsis
Usage:
mod(i,n)
Inputs:
i
,
an
integer
n
,
an
integer
Outputs:
an
integer
, the integer
i
modulo
n
, as an element of
ZZ/n
.
See also
ZZ % ZZ
-- a binary operator, usually used for remainder and reduction
For the programmer
The object
mod
is
a
function closure
.