Polynomials for infinite-domain spectral elements