The Design and Implementation of FFTW3
Introduction to Algorithms