Module lambdaworks_math::fft::cpu::roots_of_unity
source · Functions
- Returns a
Vecof the powers of a2^nth primitive root of unity in some configurationconfig. For example, in aNaturalconfig this would yield: w^0, w^1, w^2… - Returns a
Vecof the powers of a2^nth primitive root of unity, scaledoffsettimes, in a Natural configuration. - Returns 2^
order/ 2 twiddle factors for FFT in some configurationconfig. Twiddle factors are powers of a primitive root of unity of the field, used for FFT computations. FFT only requires the first half of all the powers