#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 2::4.6.4 Evaluation of Polynomials
#columns:Front	Back	Tags
TAOCP §4.6.4 Evaluation of Polynomials: what does it cover?	Evaluating polynomials efficiently: Horner's rule, evaluating at many points, preprocessing coefficients to save multiplications, and the related cost of matrix and polynomial operations, including the Fourier transform.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::about
TAOCP §4.6.4: why does it matter?	Horner's rule is used in every math library and in hashing (polynomial rolling hashes). The FFT view connects to signal processing and fast multiplication.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::why
TAOCP §4.6.4: what traps should you watch for?	<ul><li>Numerical instability when evaluating with floats at large x.</li></ul>	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::traps
TAOCP §4.6.4, exercise 1 (rated 15): what is it asking?	Evaluate an odd polynomial efficiently.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 2 (rated M20, recommended): what is it asking?	Shift a polynomial's origin with Horner-like steps or fast multiplication.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 3 (rated 20): what is it asking?	Horner's rule for two variables, with operation counts.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 41 (rated 22): what is it asking?	Complex multiplication with three real multiplications.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 57 (rated M20): what is it asking?	Multiply polynomials with the FFT in n log n time. Implement it.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 19 (rated M24, recommended): what is it asking?	Adapt coefficients ahead of time to save multiplications.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 14 (rated HM28, recommended): what is it asking?	Derive the fast Fourier transform from the text's general scheme.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4, exercise 51 (rated M24, recommended): what is it asking?	Winograd's small cyclic convolutions. The stretch.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercise
TAOCP §4.6.4: how many exercises, and how are they rated?	74 exercises, rated 15 to M50.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::exercises
TAOCP §4.6.4: what should you be comfortable with first?	<ul><li>4.6.1 Division of Polynomials</li><li>4.3.3 How Fast Can We Multiply?</li></ul>	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::prereqs
TAOCP §4.6.4: how should you work through it?	Implement Horner's rule and a rolling hash using it. Read the coefficient-preprocessing ideas lightly. Spend real time on the discrete Fourier transform discussion if FFT is new to you.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.6.4 cracked.guide::kind::approach
