numtheory(deprecated)
GIgcd
gcd of Gaussian integers
Calling Sequence
Parameters
Description
Examples
GIgcd(x1, x2,..., xn)
x1, x2, ..., xn
-
Gaussian integers
Important: The numtheory package has been deprecated. Use the superseding command GaussInt[GIgcd] instead.
This function computes and returns the first quadrant associate of a gcd of the Gaussian integers x1=a1+b1⁢I,...,xn=an+bn⁢I, where the ais and the bis are integers. The first quadrant associate of a Gaussian integer is defined as I^(5-j)*x where x is a Gaussian integer and j⁡1..4 is the quadrant containing x (see GaussInt[GInormal]).
The command with(numtheory,GIgcd) allows the use of the abbreviated form of this command.
with⁡numtheory:
GIgcd⁡24,12
12
GIgcd⁡−345+515⁢I,1574+368⁢I
41+117⁢I
See Also
GaussInt[GIgcd]
GaussInt[GInormal]
gcd
gcdex
igcd
Download Help Document