Fourier series of smooth, non-periodic functions on [−1,1] are known to
exhibit the Gibbs phenomenon, and exhibit overall slow convergence. One way of
overcoming these problems is by using a Fourier series on a larger domain, say
[−T,T] with T>1, a technique called Fourier extension or Fourier
continuation. When constructed as the discrete least squares minimizer in
equidistant points, the Fourier extension has been shown shown to converge
geometrically in the truncation parameter N. A fast O(Nlog2N) algorithm has been described to compute Fourier extensions for the case
where T=2, compared to O(N3) for solving the dense discrete
least squares problem. We present two O(Nlog2N) algorithms for
the computation of these approximations for the case of general T, made
possible by exploiting the connection between Fourier extensions and Prolate
Spheroidal Wave theory. The first algorithm is based on the explicit
computation of so-called periodic discrete prolate spheroidal sequences, while
the second algorithm is purely algebraic and only implicitly based on the
theory