GaussInt[GIrem] - Gaussian integer remainder
GaussInt[GIquo] - Gaussian integer quotient
|
Calling Sequence
|
|
GIrem(m, n) GIrem(m, n, 'q')
GIquo(m, n) GIquo(m,n, 'r')
|
|
Parameters
|
|
m, n
|
-
|
Gaussian integers
|
q, r
|
-
|
(optional) names
|
|
|
|
|
Description
|
|
•
|
GIrem computes the Gaussian integer remainder of m divided by n. If the third argument is present, it is assigned the quotient. Likewise, GIquo computes the integer quotient of m divided by n; and if the third argument is present, assigns it the remainder. In special cases when there are more than one possible values for the quotient, the one with the smallest norm is chosen.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?