 
 
 
 
 
   
 [x1,..., xn]
[x1,..., xn]
 /
/ p
p [x1,..., xn].
Algorithm 4
computes the gcd of two polynomials 
f, g
[x1,..., xn].
Algorithm 4
computes the gcd of two polynomials 
f, g  
  [x1,..., xn]
with this assumption.
Observe that Algorithm 4
takes as input any couple of multivariate polynomials over
[x1,..., xn]
with this assumption.
Observe that Algorithm 4
takes as input any couple of multivariate polynomials over 
 ,
primitive or not.
,
primitive or not.
Algorithm 4 relies also on the following technical assumptions.
 
  [x1,..., xn]
[x1,..., xn]   content
  content (f )
      computes the content of a multivariate polynomial over
(f )
      computes the content of a multivariate polynomial over 
 ,
      that is the gcd of its coefficients.
      We make the same conventions as for the univariate case.
      See Definition 3.
,
      that is the gcd of its coefficients.
      We make the same conventions as for the univariate case.
      See Definition 3.
 
  [x1,..., xn], c
[x1,..., xn], c  R)
 R)   f exquo c is
      the exact division of a polynomial by an integer. That is, assuming
      that c divides f, the value returned by 
f
  f exquo c is
      the exact division of a polynomial by an integer. That is, assuming
      that c divides f, the value returned by 
f  c is the polynomial
      g such that 
f = c g.
 c is the polynomial
      g such that 
f = c g.
 . To decide which is the leading monomial
      (and thus which is the leading coefficient) we assume that the
      variables are totally ordered, say 
x1 >  ...  > xn. 
      Then to order monomials we use the lexicographic ordering induced by 
x1 >  ...  > xn.
. To decide which is the leading monomial
      (and thus which is the leading coefficient) we assume that the
      variables are totally ordered, say 
x1 >  ...  > xn. 
      Then to order monomials we use the lexicographic ordering induced by 
x1 >  ...  > xn.
 
  [x1,..., xn]
[x1,..., xn]   lclex(f )
      returns the leading coefficient of f w.r.t. the lexicographic ordering
      induced by 
x1 >  ...  > xn.
  lclex(f )
      returns the leading coefficient of f w.r.t. the lexicographic ordering
      induced by 
x1 >  ...  > xn.
 
  [x1,..., xn]
[x1,..., xn]   deglex(f )
      returns the degreeof f w.r.t. the lexicographic ordering
      induced by 
x1 >  ...  > xn. That is the exponent vector
      of the leading monomial of f.
  deglex(f )
      returns the degreeof f w.r.t. the lexicographic ordering
      induced by 
x1 >  ...  > xn. That is the exponent vector
      of the leading monomial of f.
Observations.
 [x] based on the FFT.
[x] based on the FFT.
| gm = w | (115) | 
 
 
 
 
