MTM[Mod] - computation over the integers modulo m
|
Calling Sequence
|
|
Mod(M1, M2)
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?