GIgcd - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


GaussInt

  

GIgcd

  

greatest common divisor of Gaussian integers

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GIgcd(x[1], x[2], ..., x[n])

Parameters

x[1], x[2], ..., x[n]

-

Gaussian integers

Description

• 

The GIgcd function computes and returns the first quadrant associate of a gcd of the Gaussian integers x1=a1+I⁢b1, ..., xn=an+I⁢bn where the ai's and the bi's are integers.  The first quadrant associate of a Gaussian integer is defined as I5−j⁢x where x is a Gaussian integer and j (1..4) is the quadrant containing x (see GInormal).

Examples

> 

with⁡GaussInt:

> 

GIgcd⁡24,12

12

(1)
> 

GIgcd⁡−345+515⁢I,1574+368⁢I

41+117⁢I

(2)

See Also

GaussInt[GIgcdex]

GaussInt[GIlcm]

GaussInt[GInormal]