Functions to find the Greatest Common Divisor (GCD) or Least Common
Multipe (LCM) of two or more polynomials, specified either as individual
arguments or as a polylist object.
Usage
# S3 method for polynom
GCD(…)
# S3 method for polylist
GCD(…)
# S3 method for polynom
LCM(…)
# S3 method for polylist
LCM(…)
Arguments
…
Either individual polynom arguments or a single
polylist object with all polynomials.
Value
A single polynomial object giving the GCD or LCM respectively,
normalised to have the leading coefficient unity (i.e. a monic
polynomial).
Details
Uses the classical GCD and LCM algorithms with polynomial arithmetic.