C++ signal processing
Dirichlet kernel (periodic cardinal sinus)
Namespace: dsp
dsp
static double Dirichlet(int N, double Ω)
\[ D_N(\Omega) = \sum_{k=-N}^N e^{-\mathbf{i}\Omega k} \]