ComplexToReal

Trait ComplexToReal 

Source
pub trait ComplexToReal<T: Float>: Send + Sync {
    // Required methods
    fn process(&self, input: &[Complex<T>], output: &mut [T]);
    fn len(&self) -> usize;

    // Provided methods
    fn is_empty(&self) -> bool { ... }
    fn input_len(&self) -> usize { ... }
}
Expand description

Trait for complex-to-real FFT operations

This trait defines the interface for inverse FFT transforms that convert complex-valued frequency domain data back to real-valued time domain output.

Required Methods§

Source

fn process(&self, input: &[Complex<T>], output: &mut [T])

Process a complex-valued input and produce real-valued output

§Arguments
  • input - Complex-valued frequency domain samples (length = output.len()/2 + 1)
  • output - Real-valued time domain output
Source

fn len(&self) -> usize

Get the length of the output this IFFT is configured for

Provided Methods§

Source

fn is_empty(&self) -> bool

Check if this IFFT is empty (length 0)

Source

fn input_len(&self) -> usize

Get the length of the input this IFFT expects

Implementors§