ola_complexity_optimize
Compute optimal parameters for an OLA filter.
Namespace: dsp::fourier
Prototype
void ola_complexity_optimize(int M, float &C, int &Nf, int &Nz, int &Ne)
Parameters
M | Time-domain filter length (in samples), |
C | Complexity, in FLOPS by input sample, |
Nf | FFT dimension, |
Nz | Number of zeros inserted for each FFT block ( \(N_f = N_e + N_z\)) |
Ne | Optimal input block length. |
Description
This function computes the optimal input block length for an OLA process (see filter_fft()). The optimum is found for \(N_e = 2^k - (M-1)\), \(k\) being found by exhaustive search.