pub fn dtft<F, I, C>(x: I) -> impl Fn(I) -> Cwhere
F: Float + FloatConst + NumAssign + 'static,
I: FromIterator<F> + Clone,
for<'a> &'a I: IntoIterator<Item = &'a F>,
for<'a> <&'a I as IntoIterator>::IntoIter: ExactSizeIterator,
usize: AsPrimitive<F>,
C: FromIterator<Complex<F>> + IndexMut<usize, Output = Complex<F>>,
Expand description
Compute the discrete time fourier transform of the real valued input collection. Returns a closure which accepts a collection of sample frequencies and returns a collection of the fft values