pub fn direct_dft(data: &[Complex<f64>]) -> Result<Vec<Complex<f64>>, FFTError>Expand description
Compute a direct (naive) DFT for small N.
Complexity is O(N^2) so this should only be used for small base cases (typically N <= 16).
ยงErrors
Returns FFTError::ValueError if data is empty.