Tests/testFFT.cpp
/**
 * Generate all indexes for the FFT
 */
Generate all indexes for the FFT
Generate all indexes for the FFT
std::vector<Offsets> prepare_fft_indexes(int log2n) {
  std::vector<Offsets> ret;
  for (int s = 1; s <= log2n; s++) {
    int m = 1 << s;
    ret << prepare_offsets(s, m, log2n);
  }
  return ret;
}
std :: vector < Offsets > prepare_fft_indexes ( int log2n ) { std :: vector < Offsets > ret ; for ( int s = 1 ; s <= log2n ; s ++ ) { int m = 1 << s ; ret << prepare_offsets ( s , m , log2n ) ; } return ret ; }
Generate all indexes for the FFT
Generate all indexes for the FFT