pub fn fftn(
data: &ArrayD<Complex<f64>>,
direction: FftDirection,
) -> Result<ArrayD<Complex<f64>>, ErrorsJSL>Expand description
The N-dimensional DFT X[k] = Σ x[n] e^{∓2πi Σ_d k_d n_d / N_d} over every axis (the inverse
is scaled by 1 / Π N_d). Any lengths are supported.