pub fn rfft(input: &Array1<f64>) -> Array1<Complex64>
Expand description
Compute the forward real FFT of a real-valued array.
ยงExamples
use ndarray::Array1;
let x = Array1::from_vec(vec![0.0, 1.0, 0.0, -1.0]);
let y = scir_fft::rfft(&x);
assert!(y.len() >= 1);