"Fast Fourier Transform"
Reference: from polynomial multiplication to fast Fourier transform by Miskcoo
FFT Learning Note by Menci
Features: FFT for O (n log n) solves polynomial multiplication.
(i) Representation of the polynomial:
Coefficient notation: F (x) =a[n-1]*x^ (n-1) +...+a[0], called n-1-quadratic polynomial.
Point value notation: a n-1 polynomial has n roots in a complex field, that is, n (x, Y) can uniquely determine a n-1 polynomial.
For a polynomial, the transformation from its coefficient representation to its point value representation is called a discrete Fourier transform (DFT) and, conversely, a Fourier inverse transformation (IDFT).
Simple discrete Fourier transform, the complexity of enumeration implementation is O (n^2).
Fast Fourier transform is an algorithm for implementing IDF and IDFT with the complexity of O (n log n), commonly used Cooley-tukey algorithm.
(ii) plural
The plural is a figure as A+bi, when B=0 is a real number, b≠0 is imaginary, and a=0 is pure imaginary.
Define a plane as a complex plane, then each point within the plane (A, B) uniquely corresponds to a complex a+bi,i that can be understood as the unit length on the y-axis, as 1 is the unit length on the x-axis.
The essence of I is to define the rotation transformation on the axis, I is 1 counterclockwise rotation 90 °, then i^2=-1.
The complex number is added and follows the parallelogram rule.
Multiply the plural, the modulus of appearance multiply, the amplitude angle adds.
(c) Unit root
Take the dot as the starting point, the complex plane units round the N equal point as the end point, as n vector, the resulting amplitude angle is the positive and the smallest vector corresponding to the complex number of Ω (1,n), that is, n-th unit root. (The brackets are superscript to the left and the subscript to the right).
Image source: The FFT by Zball in OI
Where the B point is the unit root ω (1,n), counterclockwise with this ω (2,n), ω (3,n) ..., ω (n,n) =ω (n,0) = 1.
Calculation formula: Ω (k,n) =cos (2kπ/n) + i*sin (2kπ/n)
"Algorithm topic" polynomial-related