pub fn k_value(i: usize, n: usize) -> f64
k value of FFT index i on a ring of n sites, in [−π, π) (the Nyquist index of an even ring is −π).
i
n