English

Optimizing the size of array for modern discrete Fourier transform libraries

Computational Physics 2023-08-17 v1

Abstract

The problem of optimization of the array size for modern discrete Fourier transform libraries is considered and reformulated as an integer linear programming problem. Acceleration of finding an optimal solution using standard freely available library with respect to brute force approach is demonstrated. Ad hoc recursive algorithm of finding the optimal solution is proposed, complexity scaling of the algorithm is estimated analytically. The problem can be used in a linear programming class as an example of purely integer programming problem (continuous linear programming solution has no sense), simple enough to be solved using even interpreting programming languages like Python or Matlab.

Keywords

Cite

@article{arxiv.2308.07975,
  title  = {Optimizing the size of array for modern discrete Fourier transform libraries},
  author = {Alexander O. Korotkevich},
  journal= {arXiv preprint arXiv:2308.07975},
  year   = {2023}
}

Comments

12 pages, 1 table, submitted

R2 v1 2026-06-28T11:56:26.642Z