10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

516 Chapter 9 FAST ALGORITHMS FOR LARGE-INTEGER ARITHMETIC<br />

and so require at most three FFTs of that padded length (note that in some<br />

scenarios the y signal’s symmetry allows further optimization).<br />

The third, and most general, case of polynomial evaluation starts from<br />

the observation that polynomial remaindering can be used to decimate the<br />

evaluation procedure. Say that x(t) has degree D − 1 and is to be evaluated<br />

at the points t0,t1,...,tD−1. Let us simplify by assuming that d is a power of<br />

two. If we define two polynomials, each of essentially half the degree of x, by<br />

y0(t) =(t − t0)(t − t1) ...(t − t D/2−1),<br />

y1(t) =(t − t D/2)(t − t D/2+1) ...(t − tD−1),<br />

then we can write the original polynomial in quotient–remainder form as<br />

x(t) =q0(t)y0(t)+r0(t) =q1(t)y1(t)+r1(t).<br />

But this means that a desired evaluation x(tj) iseitherr0(tj) (forj

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!