7.1.2 GCD of a list of integers
The
lgcd
command finds the GCD of a list of integers or polynomials.
lgcd
takes
L
, a list of integers (or polynomials).
lgcd(
L
)
returns the GCD of all the integers (or polynomials) in the list
L
.
Example
lgcd
([18,15,21,36])
3