next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
gcd -- greatest common divisor
Synopsis
Usage:
gcd(x,y,...)
Inputs:
x
,
an
integer
Outputs:
an
integer
, the greatest commond divisor of the arguments
Description
i1 : gcd(2,4,8) o1 = 2
See also
gcdCoefficients
-- gcd with coefficients
Ways to use
gcd
:
gcd(List)
gcd(QQ,QQ)
gcd(RingElement,RingElement)
gcd(Sequence)
gcd(ZZ,QQ)
gcd(ZZ,ZZ)