Skip to main content

RealFft

Trait RealFft 

Source
pub trait RealFft<T, const SIZE: usize>{
    // Required method
    fn real_fft(&self) -> RealDft<T, SIZE>;
}
Expand description

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

Required Methods§

Source

fn real_fft(&self) -> RealDft<T, SIZE>

Perform a real-valued FFT on a signal with input size SIZE and output size SIZE / 2 + 1.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

fn real_fft(&self) -> RealDft<T, SIZE>

Implementors§