pub trait Fft {
    fn fwd(&mut self, input: &[cf32], output: &mut [cf32], s: Scale);
    fn bwd(&mut self, input: &[cf32], output: &mut [cf32], s: Scale);
    fn ifwd(&mut self, input: &mut [cf32], s: Scale);
    fn ibwd(&mut self, input: &mut [cf32], s: Scale);
    fn len(&self) -> usize;
}
Expand description

Wrapper to be implemented for different fft implementations For example for use in VecOps FFT and input must be the same length

Required Methods

FFT (Forward) from input to output
Does not modify contents of input

iFFT (Backward) from input to output
Does not modify contents of input

In-place FFT (Forward)
Overwrites the input with the output of the transform

In-place iFFT (Backward)
Overwrites the input with the output of the transform

Retrieve the (fixed) size (number of bins) this is generated for

Implementors