1d DFT