[−][src]Trait contest_algorithms::math::fft::FFT
Associated Types
type F: Sized + Copy + From<Self> + Neg + Add<Output = Self::F> + Div<Output = Self::F> + Mul<Output = Self::F> + Sub<Output = Self::F>
Associated Constants
const ZERO: Self
Required methods
fn get_roots(n: usize, inverse: bool) -> Vec<Self::F>
A primitive nth root of one raised to the powers 0, 1, 2, ..., n/2 - 1
fn get_factor(n: usize, inverse: bool) -> Self::F
1 for forward transform, 1/n for inverse transform
fn extract(f: Self::F) -> Self
The inverse of Self::F::from()