- added example05 for clfft real in-place transform

- added readme to example04 for installing clfft
This commit is contained in:
Dakota St. Laurent
2015-08-03 18:38:14 -04:00
parent 14438e2355
commit 3af7ec6c3b
6 changed files with 235 additions and 15 deletions

13
example05/main.py Normal file
View File

@@ -0,0 +1,13 @@
import numpy as np
import scipy.fftpack as fft
N = 128
v = np.arange(N)
v_fft = fft.fft(v)
v_fft_altered = 2*v_fft.real + 4*v_fft.imag*1j
v_final = fft.ifft(v_fft_altered)
print v_final