Multipole expansions and pseudospectral cardinal functions: A new generalization of the fast fourier transform