MTM
Mod
computation over the integers modulo m
Calling Sequence
Parameters
Description
Examples
Mod(M1, M2)
M1
-
array
M2
The Mod(M1,M2) function computes the element-wise M1 modulo M2.
If M1 is a scalar, then M1 is added to each element of M2.
Arrays M1 and M2 must be the same size.
with⁡MTM:
M1≔Matrix⁡2,3,fill=103⁢x:
M2≔Matrix⁡2,3,fill=27:
Mod⁡M1,M2
22⁢x22⁢x22⁢x22⁢x22⁢x22⁢x
Mod⁡7,3,4|5,6
1231
Mod⁡3,4|5,6,2
1100
See Also
mod
MTM[quorem]
Download Help Document