Skip to main content

reference_dft

Function reference_dft 

Source
pub fn reference_dft(
    input: &[(f64, f64)],
    direction: Direction,
    sign: SignConvention,
) -> Result<Vec<(f64, f64)>, SignalError>
Expand description

Computes the direct, unnormalized complex DFT definition.

The selected SignConvention and Direction determine the exponential sign. No scaling is applied.