fn apply_inv_kernel( x: &[f64], k: &[f64], dims: (usize, usize, usize), ) -> Vec<f64>
F⁻¹[F(x) / k] with the k = 0 term set to zero, real part.
F⁻¹[F(x) / k]
k = 0