Previous Up Next

6.5.1  GCD: gcd igcd Gcd

The gcd command finds the greatest common divisor (GCD) of a set of integers or polynomials. (See also Section 6.28.5 for polynomials.) It can be called with one or two arguments.
igcd is a synonym for gcd.


With one argument:


Examples.


With two arguments:


Examples.

The Gcd command is the inert form of gcd; namely, it evaluates to gcd, for later evaluation.


Examples.


Previous Up Next