Skip to main content

dft_matrix

Function dft_matrix 

Source
pub fn dft_matrix(n: usize) -> Vec<Vec<Complex>>
Expand description

Compute the N×N DFT matrix W where W[j][k] = exp(-2πi·j·k/N).

The matrix form of the DFT: X = W·x.