18.2 THE POLYNOMIAL DIVISION ALGORITHM

Assume that the dividend polynomial A of degree n is given by

(18.1) c18e001

The divisor polynomial of degree m is given by

(18.2) c18e002

The polynomial division operation produces the quotient and remainder polynomials Q and R

(18.3) c18e003

(18.4) c18e004

where

(18.5) c18e005

The division operation is a series of multiply/subtract iterations such that after each iteration one coefficient of the quotient polynomial is obtained, in descending order. Also, a partial remainder polynomial having m terms is obtained after each iteration. At the end of the iterations, all the coefficients of Q are determined as well as the final remainder polynomial R.

The notation we use in this chapter for the partial remainder polynomials is as follows:

  • R(i): input partial remainder polynomial at iteration i
  • R(i + 1): resulting partial remainder polynomial at iteration i
  • rj(i): jth coefficient of R(i), 0 ≤ j < m

According to the above definitions, can express R(i) explicitly as

(18.6) ...

Get Algorithms and Parallel Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.