inverse Fourier transform cos(pi*v/2) from -1 to 1