Topic summary

Number-theoretic transform

Number-theoretic transform

Extracted from the Wikipedia article Discrete Fourier transform over a ring.

Number-theoretic transform

The number-theoretic transform (NTT) is obtained by specializing the discrete Fourier transform to , the integers modulo a prime p. This is a finite field, and primitive nth roots of unity exist whenever n divides , so we have for a positive integer ξ. Specifically, let be a primitive th root of unity, then an nth root of unity can be found by letting .