"Algorithm topic" polynomial-related

Source: Internet
Author: User

"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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.