Fft

Trait Fft 

Source
pub trait Fft<T, const SIZE: usize> {
    // Required method
    fn fft(&self) -> [Complex<T>; SIZE];
}
Expand description

A trait for performing fast DFT’s on structs representing complex signals with a size known at compile time.

Required Methods§

Source

fn fft(&self) -> [Complex<T>; SIZE]

Perform a complex-valued FFT on a signal with input and outpiut size SIZE.

Implementations on Foreign Types§

Source§

impl<T: FftNum + Default, const SIZE: usize> Fft<T, SIZE> for [T; SIZE]

Source§

fn fft(&self) -> [Complex<T>; SIZE]

Source§

impl<T: FftNum, const SIZE: usize> Fft<T, SIZE> for [Complex<T>; SIZE]

Source§

fn fft(&self) -> [Complex<T>; SIZE]

Implementors§