Expand description
This crate contains some DFT implementations.
Structs§
- DifButterfly
- DIF (Decimation-In-Frequency) butterfly operation.
- DifButterfly
Zeros - DIF (Decimation-In-Frequency) butterfly operation where
x_2
is guaranteed to be zero. - DitButterfly
- DIT (Decimation-In-Time) butterfly operation.
- Naive
Dft - Radix2
Bowers - The Bowers G FFT algorithm. See: “Improved Twiddle Access for Fast Fourier Transforms”
- Radix2DFT
Small Batch - An FFT algorithm which divides a butterfly network’s layers into two halves.
- Radix2
Dit - Radix-2 Decimation-in-Time FFT over a two-adic subgroup.
- Radix2
DitParallel - A parallel FFT algorithm which divides a butterfly network’s layers into two halves.
- Twiddle
Free Butterfly - Butterfly with no twiddle factor (
twiddle = 1
).
Traits§
- Butterfly
- A butterfly operation used in NTT to combine two values into a new pair.
- TwoAdic
Subgroup Dft - This trait gives an interface for computing discrete fourier transforms (DFT’s) and their inverses over
cosets of two-adic subgroups of a field
F
. It also contains combined methods which allow you to take the evaluation vector of a polynomial on a cosetgH
and extend it to a cosetg'K
for some possibly larger subgroupK
and different shiftg'
.
Functions§
- divide_
by_ height - Divide each coefficient of the given matrix by its height.